Home > Ubuntu > Common terminal command on UBUNTU

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


Troubleshooting

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.


Thanks
R Vashi

About these ads
Categories: Ubuntu
  1. July 16, 2010 at 4:54 pm | #1

    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

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 68 other followers

%d bloggers like this: