|
|
|
|
Linux Terminal basics
One of the main advantages of Linux is being able to control complete operating system in terminal mode. Today we will learn some basic commands.
|
|
 |
|
|
|
|
|
 |
|
 |
|
 |
 |
1.
|
|
|
Most of the things in Linux can be done through graphical user interface. Nevertheless knowledge of working directly in terminal mode can sometimes be very useful.
To mange Linux through shell we must first start terminal.
To start Terminal in Ubuntu Linux, press Windows key on keyboard and type terminal.
|
|
|
2.
|
|
|
Terminal window will now open.
Default opened location will be home folder of our account.
Home directories of user account are located in directory /home/name_of_user_account
|
|
|
3.
|
|
|
Linux is using similar tree structure of folders as Windows system.
One of the main differences is that partitions on disk are not labeled with letters. Instead the top location (root folder) is just labeled as character /
|
|
|
4.
|
|
|
Most basic command is ls which will show list of files in current folder.
Type ls and press Enter.
Be careful because Linux operating system is case sensitive, so always write commands in lower case.
Many times you will also need to use command ls -al
a parameter means that hidden files will also be shown and l parameter will show more detailed list of files.
|
|
|
5.
|
|
|
You can move between folders with command cd.
cd name_of_folder
When using ls, folders are usually blue color.
|
|
|
6.
|
|
|
New folders are created with command mkdir, where we append name of the folder that we want to create.
mkdir name_of_folder
Folders can be deleted with command: rmdir ime_mape
|
|
|
7.
|
|
|
If we just want to check our current folder, we can use command pwd.
pwd
This was just a brief introduction to terminal mode in Linux. If you have any additional questions just ask them on forum.
|
|
|
 |
 |
 |
|
 |
|
|