Ubuntu Commands that developer should know
cp
Copies the filescp
Copies file from one host machine to another host machine.mv
Moves the file/folder from one place to other.touch
Creates the filemkdir
Creates the directory. If you want to create a chain of parent and child directory you can use with ‘-p’ option. e.gmkdir -p code/reference
, this command will createreference
directory undercode
directory.rm
Deletes the file. If use with -r option, it recursively deletes the file and child directoryrmdir
Deletes the empty directory.grep
Looks for the pattern in given file.cat
Prints the content of the file on the console.find kill -9
Kills the specified process.
xcalc
if you are on GNOME; Shows the calculator.cal
Shows the Calendardate
Shows the current date and time
apt-get moo
Checkout yourself what it does.cowsay ""
If the command is not found then install it using this commandsudo apt-get install cowsay
alt+f2 "free the fish"
If you use GNOME. This command doesn’t work if you are using Ubuntu 12.04 or 12.10