- # the most useful and userfriendly introductory to unix commands, both for beginners and advanced users can be found at http://linux.about.com/?once=true&
- # flip can be used to convert text files in the current directory and below from unix format (linefeed, 0x0a, LF) to windows format (carriage return + linefeed, 0x0d0a, CRLF):
find . -type f -exec flip -d {} \;
- # flip can be used to convert text files in the current directory and below from windows format (carriage return + linefeed, 0x0d0a, CRLF) to unix format (linefeed, 0x0a, LF):
find . -type f -exec flip -u {} \;
- # clean up an html page:
tidy
- # reformat paragraphs in a text file:
par
- # reformat a text file:
fmt
- # what the fuck decodes acronyms:
wtf wtf; wtf afaik
- # one-line information on many commands and programs:
whatis whatis
- # more extensive information on a particular commands or item:
man whatis
- # helpful information on built-in commands of the current shell (most probably bash):
help help
- # fun with ascii art:
for a in /usr/share/cowsay/cows/*cow;do fortune -s|cowsay -f $a;done|less
- # and -- the auto nice daemon: automatically renices cpu-demanding processes
sudo apt-get install and
- # kile -- a very user-friendly LaTeX front-end
- # Dictionary lookup:
dict term
- # Fortune cookies matching a specific pattern:
fortune -i -m pattern
- # Gnome-based hex editor
ghex2
- # List information on all open files that belong to all active processes, the status of the modules currently available to the kernel, a quick overview (interrupts, ioports, dma) on the currently installed hardware, the currently installed pci devices, and the currently active usb devices:
lsof; lsmod; lsdev; lspci; lsusb
- # Network load overview:
netload eth0 -t 5
- # finding out which type of machine you are working on:
uname -a
- # finding out some interesting information on a particular host or machine:
nslookup -querytype=any hostname.domain.org
whois --verbose ipaddress
host -a hostname.domain.org nameserver.org
- the following link provides very useful information on various frequently used unix commands: introduction to various unix tools