List SAN Domains for a certificate Show Sample Output
You can get an approximate idea of how long your data export might take. Show Sample Output
Will delete empty directories and sub-directories (hideen too = whose names are starting with dot .). Used 'rm' command instead of 'rmdir' to give the possibility of asking for confirmation before deleting i.e. it is not wise do delete all empty directories in /etc folder. Replace dot in 'find .' with any for other starting directory instead of current. in 'rm -i -R' 'i' stands for ask before delete and 'R' for delete folder recursively or folder itself if it is empty
I can think of using this command after compiling an downloaded source from anywhere as an easy way to find all executable products.
We usually issue the
find
command (without arguments) to list the full paths of all directories and sub-directories and files in the entire current tree.
Similar command is
tree -aicfnF
Run inside Command Prompt (cmd.exe) as admin. Note that you must close explorer.exe first, and even so some files will not be deleted, will say "Access is denied." To definitely delete them enter with another admin user or from other operating system and access the drive. Show Sample Output
Sometimes we install programs, we forget about them, and they stay there wasting RAM. This one-liner try to find them. Show Sample Output
raw image created by canon digital camera. Install using apt-get install ufraw
tar(1) and cpio(1) are not fully platform agnostic, although their file formats are specified in POSIX.1-2001. As such, GNU tar(1) might not be able to extract a BSD tar(1) archive, and ivce versa. pax(1) is defined in POSIX.1-2001. To extract an archive:
pax -rf archive.tar
cron entry to record mysql status every minute
username is dba and password is dba123
remove all compressed files in /home/ folder not created in the last 10 days
remove all files in /home/ folder that starts with bk_all_dbProdSlave and not created in the last 2 days
pem file used by AWS servers for additional security
queries related to table 'Invoice_template' Show Sample Output
( Or
ls -lat|lolcat -a
if you like it in technicolor - apt install lolcat if needed )
Manage partial uploads using append option.
Especially useful while syncing to Amazon EC2 instance. avz stands for archive verbose compress
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: