Linux Terminal Commands List – Most Common – Used – Useful

 

Here are a few keyboard shortcuts for Linux:

 

1) Ctrl+Alt+T    = Open Terminal
2) Ctrl+L           = Clear Terminal Screen Of Text
3) Ctrl+Alt+F2  = Goes to DOS style CLI environment

 

You can copy and past the commends straight in to the Linux Terminal.

 

arp -a

arp HOSTNAME_GOES_HEARE

bash

cal

cat (Or) etc (Or) shells

cd

clear

cp FILE NEW_FILE

cp DIRECTORY NEW_DIRECTORY

date

df

dig + DOMAIN_NAME_GOES_HEARE

dir

dir -a

echo off

echo on

exit

help

ifconfig

killx

killall APPLICATION_NAME_GOES_HERE

locate STRING

ls

ls -la

ls -a

mkdir

mkdir -p FULL_DIRECTORY_NAME_GOES_HERE

more FILE_NAME

more ETC PASSWORD

nano FILE_NAME

ping IP_ADDRESS_OR_DOMAIN_NAME_GOES_HERE

ps

ps -a

ps -A

ps -d

ps -d -N

ps -e

pwd

redir

rm FILE_NAME

rm -R DIRECTORY_NAME_GOES_HERE

stop + JOB_NAME_GOES_HEAR

sudo

sudo su

sudo apt-get install

top

time

traceroute IP_ADDRESS_OR_DOMAIN_NAME_GOES_HERE

vi FILE_NAME

whois
Displays MAC Address

Displays hostname and hostname's MAC address

Loads the BASH shell (Type exit in bash to return to your previous shell environment)

Displays a text based calendar

Displays all available shells on the device

Allows you to change directory by typing directory path after the cd

Clears the screen of current text

Copy file to a new file

Copy a file from one directory to another

Displays the current date

Displays file system as 1K blocks etc

Displays domain information

List directory

List directory all

Turns off echo

Turns on echo

Exit the terminal environment

Displays the help page

Displays TCP/IP information

Close an application you click on

Close an application when you can not see it onscreen

Locate any file or command

List directory contents

List directory contents long format

List directory contents including hidden files

Make new directory

Make multiple new directories

Review text file, use "space bar" to move down the file and "q" to quite

Review the Linux system user accounts info, use "space bar" to move down the file and "q" to quite

Simple text editor

Allows you to perform an echo test to an IP address or domain name

List currently running process

List currently running process all

List currently running process all

List currently running process

List currently running process

List currently running process

Print working directory

Remove directory

Remove file

Remove directory case sensitive

Stop a job from running

Execute commands as root user (Administrator)

Switch user to root user (Administrator)

Install software

Displays the Bandwidth usage by host

Displays the current time

Allows you to trace IP address or domain name via hops across the network back to source

Command based editor

Displays domain information

Powered by WordPress. Designed by WooThemes