0% found this document useful (0 votes)
38 views

Ubuntu Terminal

The document provides descriptions of common Linux commands for performing system administration tasks such as managing directories, files, users, networking and drives. It lists commands for changing directories, viewing files, copying and moving files, installing software packages, monitoring system processes and scheduling tasks. Key commands include cd, ls, cp, mv, rm, date, ping, ifconfig, mount, useradd, chmod, and sudo which elevates privileges to perform administrative commands.

Uploaded by

wtransporter
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Ubuntu Terminal

The document provides descriptions of common Linux commands for performing system administration tasks such as managing directories, files, users, networking and drives. It lists commands for changing directories, viewing files, copying and moving files, installing software packages, monitoring system processes and scheduling tasks. Key commands include cd, ls, cp, mv, rm, date, ping, ifconfig, mount, useradd, chmod, and sudo which elevates privileges to perform administrative commands.

Uploaded by

wtransporter
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

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 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. * apt-get - used to install, remove, upgrade and more. * * * * * * * file - typechecking 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

You might also like