0% found this document useful (0 votes)
27 views2 pages

Ubuntu Hai

Uploaded by

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

Ubuntu Hai

Uploaded by

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

The kernel is the essential center of a computer operating system (OS).

It is the core that provides basic


services for all other parts of the OS. It is the main layer between the OS and hardware, and it helps
with process and memory management, file systems, device control and networking.

1. sudo
This SuperUserDo is the most important command Linux newbies will use. Every single command that
needs root's permission, need this sudo command. You can use sudo before each command that requires
root permissions -

2. ls (list)
Just like the other, you often want to see anything in your directory. With list command, the terminal
will show you all the files and folders of the directory that you're working in. Let's say I'm in the /home
folder and I want to see the

3.. cd
Changing directory (cd) is the main command that always be in use in terminal. It's one of the most
Linux basic commands. Using this is easy. Just type the name of the folder you want to go in from your
current directory. If you want to go up just do it by giving double dots (..) as the parameter.

4. mkdir
Just changing directory is still incomplete. Sometimes you want to create a new folder or subfolder.
You can use mkdir command to do that. Just give your folder name after mkdir command in your
terminal.

5. cp
copy-and-paste is the important task we need to do to organize our files. Using cp will help you to
copy-and-paste the file from terminal. First, you determine the file you want to copy and type the
destination location to paste the file.
$ cp src des

The apt-get command will help you installing the software you need to run in your Linux. It is a
powerful command-line tool which can perform installation, upgrade, and even removing your
software.
8. grep
You need to find a file but you don't remember its exact location or the path. grep will help you to solve
this problem. You can use the grep command to help finding the file based on given keywords.
$ grep user /etc/passwd

9. cat
As a user, you often need to view some of text or code from your script. Again, one of the Linux basic
commands is cat command. It will show you the text inside your file.

10. poweroff
And the last one is poweroff. Sometimes you need to poweroff directly from your terminal. This
command will do the task. Don't forget to add sudo at the beginning of the command since it needs root
permission to execute poweroff.

8. rm
rm (remove) command removes the specified file.
• rmdir (“remove directory”) – Removes an empty directory.
• rm -r (“remove recursively”) – Removes a directory along with its content.

12. du
du (directory usage) command displays the size of a directory and all of its subdirectories.

13. free
free – Displays the amount of free space available on the system.

16. man
man command displays a “manual page”. Manual pages are usually very detailed, and it’s
recommended that you read the man pages for any command you are unfamiliar with.

17. info
Similar to man, but often provides more detailed or precise information.

18. <command name> -h or <command name> –help


This command is a third alternative to get help. While not as detailed as the info or man pages, this will
provide a quick overview of the command and its uses.

You might also like