Code4ReferenceUbuntu commands that developers should know


Ubuntu Commands that developer should know

  • cp  
    Copies the file
  • scp
    Copies file from one host machine to another host machine.
  • mv
    Moves the file/folder from one place to other.
  • touch
    Creates the file
  • mkdir
    Creates the directory. If you want to create a chain of parent and child directory you can use with ‘-p’ option. e.g  mkdir -p code/reference, this command will create reference directory under code directory.
  • rm
    Deletes the file. If use with -r option, it recursively deletes the file and child directory
  • rmdir
    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 Calendar
  • date
    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 command sudo 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