Saturday, October 27, 2012

Must Know Basic Commands For Linux | Part-1

  1. cd - Changes the current working directory in the command line console.
  2. exit - Exits out of the current program, terminates the current command line terminal, or logs you out of a Unix network depending on the context.
  3. kill - Terminates the specified running process. The Linux version of Windows’ “End Process” in the task manager.
  4. ls - List all of the contents of a specified directory. If no directory is specified, it will use the current directory.
  5. apt-get – Advanced Packaging Tool. Use this command to install, remove, and configure software packages on your system. For a menu-based version, use aptitude command. Available on Debian-based Linux distributions.
  6. ftp / sftp - Connects to a remote FTP server in order to download multiple files.
  7. wget - Downloads files from the Internet at the specified URL to your system.
  8. yum - Yellowdog Updater, Modified. An open source package manager used to easily install software packages from repositories. Available on RPM-compatible Linux distributions.
  9. emacs – One of the most well-known text editors on Unix-like systems.
  10. vim - Vim is the successor to Vi, both of which are command line text editors for Unix-like systems. Though Vim is popular, it doesn’t use menus or icons for its interface so it has a reputation for being newbie-friendly.
  11. date - Prints out the current system date and time. Specified parameters can change the format of the output.
  12. df - Reports the disk space usage for the file system.
  13. hostname - Displays the name of the current host system.
  14. ps - Displays information about all of the processes currently running on the system.
  15. quota - Displays disk limits and current disk usage for a specified user. Useful when there are multiple users assigned to a particular system.
  16. top - Displays all of the top processes in the system, by default sorted by CPU usage.
  17. uptime - Reports how long the system has been running since last boot. Extremely useful for servers.

No comments: