Linux commands

Ubuntu Linux Manual pager utils
  • man man: man is the system's manual pager.
  • man sudo
  • man apt-get
    apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library.
  • sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file:
    sudo
  • sudo apt-get ...
    sudo apt-get upgrade php5 (upgrade php5)
    sudo apt-get upgrade php5-common  (upgrade php5-common)
    sudo apt-get upgrade php5-cli (upgrade php5-cli)
  • List mounted devices and their descriptions:
    mount
  • Edit apache conf file:
    gksu gedit /etc/apache2/sites-enabled/000-default
    sudo gedit /etc/apache2/sites-enabled/000-default
  • List  information about the FILEs (the current direc]tory by default):
    ls -al
  • chmod - change files or directory permission
  • dpkg - install, build, remove and manage Debian packages
  • find - search for files in a directory hierarchy
  • locate - find files by name: find the files and directories location
    ~$ locate xdebug
  • how to reload .bash_aliases or .bash_profile files:
    ~$ source .bash_profile