0% found this document useful (0 votes)
198 views22 pages

Basic Ubuntu Commands

Sudo is used to run programs with administrative privileges. Apt-get installs, updates, upgrades, and removes packages. Basic commands like ls, cd, pwd, cp, mv, rm, mkdir are used to manage files and directories. Commands like history, df, du, free, uname-a, top provide system information. Man and info display manuals. Command-help and whatis provide brief descriptions of commands. Passwd changes user passwords.

Uploaded by

Teddy Hariyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
198 views22 pages

Basic Ubuntu Commands

Sudo is used to run programs with administrative privileges. Apt-get installs, updates, upgrades, and removes packages. Basic commands like ls, cd, pwd, cp, mv, rm, mkdir are used to manage files and directories. Commands like history, df, du, free, uname-a, top provide system information. Man and info display manuals. Command-help and whatis provide brief descriptions of commands. Passwd changes user passwords.

Uploaded by

Teddy Hariyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

20 Basic Ubuntu Commands

1
Sudo

sudo (SuperUser DO) is used to run programs or


other command with administrative previlages.
2
Apt-Get

apt-get is used to install, update, upgrade and


remove any package.
3
Ls

ls (list) is used to list all files and folders in your


current working directory.
4
Cd

cd (change director) is used to change the


current working directory.
5
Pwd

pwd (print working directory) is used to display


the full pathname of the current working
directory.
6
Cp

cp (copy) is used to copy a file


7
Mv

mv (move) is used to move files.


8
Rm

rm (remove) is used to remove the specified file.


9
Mkdir

mkdir (make directory) is used to create a new


directory.
10
History

history is used to display all of your previous


commands.
11
Df

df (display filesystem) is used to display


information about the disk space usage.
12
Du

du (directory usage) is used to display the size of


a directory and all of its subdirectories.
13
Free

free is used to display the amount of free space


available on the system.
14
Uname-A

uname-a is used to provide a wide range of basic


information about the system.
15
Top

top is used to display the processes using the


most system resources at any given time.
16
Man

man is used to display a "manual page"


17
Info

info is used to provide more detailed or precise


information.
18
-Help

i<command name> -help is used to provide a


quick overview of the command and its uses.
19
Passwd

passwd is used to change user passsword using


terminal.
20
Whatis

whatis is used to show a brief description of what


is the functionality of specific built-in command.

You might also like