Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Other applications | Other programs | Linux Terminal basics
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

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.

 
  Author: podtalje | Version: Ubuntu 12.04 | 15th October 2012 |  
 
 
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.

 
 
 
   
  Please login to post a comment
  Click to open user profile  
TheDude, 15th Oct 2012, 2:23 AM
Can you please tell me how to find a text in a file?


 
 
  Click to open user profile  
podtalje, 15th Oct 2012, 1:33 PM
Usually you use command grep

grep search_string *

If you want to also search in subfolders just append -R
grep search_string * -R
 
 
  Click to open user profile  
BenAffleck, 8th Jun 2024, 12:47 PM
Advantages of Moving Box
Our moving boxes are accessible in various sizes to meet a huge number of needs, from the littlest things to enormous things, guaranteeing secure and coordinated transport.
Eco-responsibility: Mindful of our natural effect, our crates are essentially produced using reused materials, adding to the decrease of the carbon impression while offering ideal quality and opposition.
Reusability: The durability of our boxes gives them a long lifespan, allowing you to reuse them for different moves or for long-term storage, which is both economical and environmentally friendly.
All-in-one solution: A total moving unit is intended to offer a total arrangement, uniting every one of the fundamental components for a fruitful move. This incorporates different cartons déménagement, pressing materials like air pocket wrap , markers, tape , and at times even apparatuses to make dismantling and reassembling furniture more straightforward. This approach wipes out the need to look for these things independently, they are ideally safeguarded and coordinated to guarantee your resources.
Saving time and energy: With all that you really want in one pack , you save significant time that would some way or another have been spent exploring and buying individual supplies. This centralization of assets essentially works on the moving system . You can zero in on sorting out and pressing your assets without stressing over running out of provisions. Moreover, it decreases the pressure of dealing with various parts of the move, permitting you to zero in on other significant parts of your progress.
Competitive offers: Our costs are intended to be cutthroat on the lookout. Contrasted with our rivals, we offer the best costs for the same or prevalent quality. This approach permits us to hold our clients and draw in new clients searching for the best proposal for their moving requirements . Our cutthroat estimating , combined with our obligation to quality and client support, positions us as a main decision in the business.
Product safety: Essential for transport, shipping boxes protect contents from shock and damage. Reinforced with bubble wrap or foam inserts, they guarantee the arrival of products in perfect condition.

For more information visit our website:
https://www.lpvs.fr/

 
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO