RSS

Useful Ubuntu Terminal commands!

26 May

Movement In The directory
* cd – Change Directory
* pwd – Print Working Directory

Managing Files and Text
* cp – Copy
* ls – List
* mkdir – Make Directory
* mv – Move
* rm – Remove
* grep – Search for Text Strings
* head – Display Start of File
* less – Display Part of File
* more – Display Part of File
* tail – View the End of a File
* file – type checking of one or more files
* ps – the ultimate system monitor for command line – also good for scripts
* pidof – get pid in an useful format
* cat – print out a file in the command line
* crontab – time-driven events
* man – open the manual of programms – the most important command
* sleep – wait x seconds until continue with the next command

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 – Dupliate 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

Managing Shutdown & Restart
* shutdown -h – If you want to shutdown now the cmd “shutdown now” or specify the exact time such as 10:30 or min (ex.5, 10, etc…).
* restart -h – If you want to restart now the cmd “restart now” or specify the exact time such as 10:30 or min (ex.5, 10, etc…).

* gksudo nautilus – This command will open nautilus with root privilege. It’s just like sudo, but in GUI mode.

* sudo command – Executing Commands with Elevated Privileges

Most of the following commands will need to be prefaced with the sudo command. This elevates privileges to the root-user administrative level temporarily, which is necessary when working with directories or files not owned by your user account. When using sudo you will be prompted for your password. Only users with sudo (administrative) privileges will be able to use this command. also take a look in coreutils

* apt-get – used to install, remove, upgrade and more.

Advertisements
 
Leave a comment

Posted by on May 26, 2013 in Ubuntu

 

Tags: , , ,

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

 
%d bloggers like this: