page contents Basic Commands in Linux | TechGeek-Technology under one roof

1


Getting started with Linux Environment

If you are new to Linux , then  do not worry about it , it will be a fun experience with Linux . Linux is way better in functionality then any other operating system , it is also much secure then any other operating system . New users may face difficulties working on Linux as it is different to work on Linux as compared to Windows , which is a user friendly operating system. Below are Explained some Basic Commands in Linux. 

Some Useful Basic Commands in Linux 

1. Display your current directory.
              pwd
2. Change to the /etc directory.
             cd /etc
3.  Change to your home directory using only three key presses.
             cd ~
4. Change to the /boot/grub directory using only eleven key presses.
           cd /boot/grub
5. Go to the parent directory of the current directory.
             cd..
6. Go to the root directory.
            cd /
7. List the contents of the root directory.
            ls
8. List a long listing of the root directory
          ls -al


useful and basic linux commands works on all distributions of linux


9. list the contents of /etc

             ls /etc
learn more about linux file system


12. List all the files (including hidden files) in your home directory.
            
  •           cd /home 
  •           ls -al
Command to show hidden files on home directory



          

13. Create in one command the directories ~/dir1/dir2/dir3 (dir3 is a subdirectory from dir2, and dir2 is a subdirectory from dir1 .

              mkdir -p dir1/dir2/dir3

Making three directories on linux


14. Remove the directory testdir.
                rmdir testdir

remove a particular directory on linux





Final Words by the author

This was simple basic commands to start and get familiar with working on linux , more tutorials will be posted in coming hours . If you have any question , queries regarding Linux commands , command line interface use the comment box below , your feedback matters . Share is caring so do share it with your friends on social networking sites so that everyone could a get a chance to work on linux environment.

Next
This is the most recent post.
Previous
Older Post

Post a Comment

 
Top