More

    Basic Linux Commands (Debian Based)

    In this article we are going to discuss about basic Linux commands. If you are new to Linux and want to explore the amazing world of Linux these commands may prove helpful to you. Before learning basic Linux commands, let’s discuss about Linux itself and command line.

    Linux is an open source operating system with very powerful command line interface. Linux is also powerful operating system because more than 90% of the super computers in the world are operating Linux. Being familiar with Linux basically means being familiar with command lines. Command lines are extremely useful while working in Linux environment. Commands are used for navigation, downloads, file management, hacking(if you are in a distro like  Kali). You can also use Linux terminal to write codes in various languages. Linux is open source so it is regularly updated, secure and best environment for developers as well.

    With this short information on Linux, lets view some basic commands and their uses.

    How to Hack iPhone Lock screen Password?

    Basic Linux Commands

    1. pwd : This command shows the directory you are working in. You can remember it as “print working directory”.

    2. clear : This is a basic Linux command that cleans everything that is in your terminal and makes it look clean and fresh.

    3. ls : It lists the files that are in a directory.

    4. ls –a : It shows all files in a directory.

    5. ls /  : It shows the contents of the root directory.

    6. ls name_of_directory : Shows the contents of certain directory. eg: ls Downloads

    7. cd name of directory : Changes the directory. You can remember cd as change directory.

    8. cd / : Changes directory to root.

    9. cd ~ : Changes to home directory.

    10. touch <file name. extension> : Makes a file in current directory.

    11 .cat <file name. extension> : prints the contents of a file on the screen

    12. mkdir <Directory Name> : Makes a directory

    13. mv <file name> <directory name> : Moves a file to a directory

    14. rm <file name> : removes a file

    15. rmdir <directory name> : removes an empty directory

    16.man <command> : Displays how a command can be used. man can prove to be an important tool to understand how commands work.

    17. rm –r : Removes a directory and its contents.

    18. #rm –rf / : Deletes everything under root. This command causes your OS to collapse so, I have used # in front of it to mark it as a comment.

    So these are some of basic Linux commands to start off with Linux. If you have queries on the topic or if you want to learn more about commands feel free to comment. And check our Facebook page TheTechRim.

     

    Also check : Install VirtualBox in Linux

    Recent Articles

    How to use TOR as VPN | TOR VPN | 2020 | Protect your identity online

    Yes, you heard it right, use Tor as a VPN, i.e. TOR VPN. It may sound weird, but you can use TOR as a...

    Get 5k$ Amazon Credit For Free | 2020 | 100% Working Method

    Amazon Credit For Free - If you are running web and application servers in the cloud or deliver static and dynamic files quickly around...

    How to remove region code to backup DVD easily | 2020

    I love travel around the world and my friends the same as me. Of course, our every travelling finished with some special souvenir took...

    How to Get Free Personal Tutor| Tutor.com | 2020

    Like our recent article about Free Udemy Course, Mango Language, Lynda , this method to get own free personal tutor via tutor.com is also Library...

    How To Get Paid Udemy Courses For FREE | 2020 (100% Legal Method) |

    If you are the kind of person that enjoy learning alone or learning in screen then probably you have heard about Udemy and most...

    Related Stories

    5 Comments

    Stay on op - Ge the daily news in your inbox