It is not the installed size in files, but the size of RPM packages. Show Sample Output
Pass the files path to finfo(), can be unix path, dos path, relative or absolute. The file is converted into an absolute nix path, then checked to see if it is in-fact a regular/existing file. Then converted into an absolute windows path and sent to "wmic". Then magic, you have windows file details right in the terminal. Uses: cygwin, cygpath, sed, and awk. Needs Windows WMI "wmic.exe" to be operational. The output is corrected for easy...
finfo notepad.exe
finfo "C:\windows\system32\notepad.exe"
finfo /cygdrive/c/Windows/System32/notepad.exe
finfo "/cygdrive/c/Program Files/notepad.exe"
finfo ../notepad.exe
Show Sample Output
With this command, you can check the difference between the volumes mounted and the volume in /etc/fstab.
recurse through all files, get the message hash, flip the output as filename, hash value Show Sample Output
If you creates a virtualenv just for a test, and at the end, wants remove all installed packages. This is the lever. Show Sample Output
for redhat systems works sometimes :S tested on dell poweredge r7+ systems
Choose the /var/log/sa/saXX log based on what day you want to view. You can use ifconfig to find the name of the interface. You can use the -s flag to specify a certain time period, e.g. -s 12:00:00 -e 14:00:00 Show Sample Output
Easiest way to obtain the busiest website list (sorted by number of process running). Show Sample Output
List the busiest scripts/files running on a cPanel server with domain showing (column $12). Show Sample Output
最常使用的10个命令 Show Sample Output
For a given filesystem return the LUN ID. Command assumes 1:1 relationship between fs:lv:hdisk:lun which may not be the case in all environments. Show Sample Output
Many tasks need mac id check. above command exactly do the same Show Sample Output
Extracts domain and subdomain from given URl. See examples. Show Sample Output
Find all files in SVN workspace directories which are uncommitted. List them and find their properties Show Sample Output
There are times when a X Window server hangs. When this happens, you can log in on a terminal and kill the Xorg process (i.e. the X Server). This one line command will do the trick.
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: