More Commands

  1. cp command

cp   // Copy files from one directory to another.
Ex: cp sourcefile destinationfile

The cp command of Linux is equivalent to copy-paste and cut-paste in Windows.

  1. mv command

mv   // Rename and Replace the files.
Ex: mv sourcedir destinationdir

The mv command is generally used for renaming the files in Linux.

mv <file name> <Renamed file name> to rename the files

  1. uname command

uname // Command to get basic information about the OS.
Ex: uname -a

The uname command is used to check the complete OS information of the system.

  1. locate command

locate   // Find a file in the database.
Ex: locate file.txt

The locate command is generally used to locate the files in the database. Use an asterisk (*) to search for content that contains two or more words.

  1. clear command

clear // Clear terminal.

The clear command is a standard command to clear the terminal screen.

  1. ps command

ps command in Linux is used to check the active processes in the terminal.

  1. whoami command

The whoami command provides basic information that is extremely useful when working on multiple systems. In general, if you are working with a single computer, you will not require it as frequently as a network administrator.

  1. wget command

The wget command in the Linux command line allows you to download files from the internet. It runs in the background and does not interfere with other processes.

  1. whereis command

whereis command in Linux is generally used to see the exact location of any command typed after this.

  1. alias command

alias is a user-defined shorthand for a longer command or sequence of commands.

  1. top command

The top command displays real-time information about system activity.

  1. du command

The du command is used to estimate file and directory space usage.

  1. df command

The df command displays disk space usage for filesystems.

  1. nano command

The nano command launches the Nano text editor.

  1. vim command

The nano command launches the Vim text editor.

Last updated