Important Ubuntu Terminal Commands That You Should Know About

Terminal is the command line interface (CLI) in Ubuntu that lets you type code to instruct your computer what to do. This is a faster and more powerful way to configure your computer running Ubuntu, but it requires finding out what the commands are.

Below is a list of important Ubuntu codes that you can use in Terminal:

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

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

* sudo command – Executing Commands with Elevated Privileges (Only users with administrative privileges can use this command line)

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

* file - type checking of one or more files
* sleep - wait x seconds until continue with the next command
* pidof - get pid in an useful format
* ps - the ultimate system monitor for command line - also good for scripts
* cat - print out a file in the command line
* crontab - time-driven events
* man - open the manual of programms - the most important command
Important Ubuntu Terminal Commands That You Should Know About Important Ubuntu Terminal Commands That You Should Know About Reviewed by Echo on 5:30:00 PM Rating: 5

Comments