Linux
January 18, 2012 admin Linux,
This command delete all files in current directory: 1 sudo rm -rf * sudo rm -rf *
January 16, 2012 admin Linux,
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 [...]
January 12, 2012 admin 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 [...]
Copying, files in Linux, moving, renaming and removing
January 2, 2012 admin Linux,
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 [...]
count files, debian, linux, list files, number of files, redhat, ubuntu, unix