A lot Information

There are everything from everywhere

Linux

Linux Delete All Files In Directory

This command delete all files in current directory: 1 sudo rm -rf * sudo rm -rf *  

UNIX File Permissions Tutorial

Understanding file permissions on Unix: a brief tutorial (For files on AFS fileservers, see below) Every user on a Unix system has a unique username, and is a member of at least one group (the primary group for that user). This group information is held in the password file (/etc/passwd). A user can also be [...]

Copying, moving, renaming, and removing files in Linux

< Copying > To copy files, you use the cp command. The following will copy file to file2. Note that if file2 doesn’t exist, it’ll be created, but if it exists, it’ll be overwritten: $ cp file file2 There aren’t any undo commands in the Linux CLI, so accidentally overwriting an important file would probably [...]

, , ,

Number of files in linux directory

Question: Here is what I have so fare. It works but the only problem is that the count is not correct, it is also counting the directories in the total. I’m trying to get a total count of my MP3 files from My Music and all its subdirectories.  Here is the directory structure. My Music [...]

, , , , , , ,