Linux commands

From TheAlmightyGuru
Jump to: navigation, search

This is a list of helpful Linux commands.

List files in the current directory (similar to dir in DOS):

ls

Print the external IP address of the server:

wget http://ipecho.net/plain -O - -q ; echo

Find a file anywhere and ignore permission denied:

find * -name filename -print 2>/dev/null