Common terminal command on UBUNTU

Hi All,

In this article I will explain few very common terminal command which we can use on UBUNTU.

Adminstrative Command(will prompt for Password)
sudo command
– run command as root
apt-get – used to install, remove, upgrade and more.

Managing Files and Text

cp – Copy

ls – List

mkdir – Make a new Directory/folder

mv – Move

rm – Remove

grep – Search for Text Strings

less – Display Part of File, a more sophisticated version of more (“less is more”). It can scroll backwards and has more options than more.

more – Display Part of File in a termial, there is no need to start up an editor or word processor

tail – View the End of a File

head – Display Start of File

Change the directory

cd – Change Directory

pwd – Print Working Directory

Managing System and Program Information

cal – Calendar

date – Date


fsck – File System Check

Managing Network Connections

chkconfig – Check Activated Services

ping – Test Network Connections

ftp – file Transfer Protocol

host – Check IP of Domain

ifconfig – Configure Network Devices

netstat – Display Routing Table

route – Set Routes

telnet – Connect to telnet

traceroute – Display Route

Manage Drives and Formats

mount – Mount a Drive

umount – Unmount Drive

fdisk – Format Disk

dd – Duplicate Disk

df – Disk Free Space

Managing Rights to Files and Directories

chmod – Change Mode

su – Switch User

Managing Users and Groups

passwd – Create Password

groupadd – Add a Group

groupmod – Modify a Group

chgrp – Change Group

groupdel – Delete Group

Hope this helps.

R Vashi

1 thought on “Common terminal command on UBUNTU

  1. Ubuntu dan

    Great post I need all the help I can get. I was really confused when I first started using Ubuntu as I was used to windows commands. I gathered a heap of terminal commands on my blog Ubuntu dan. I hope they help


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.