Basic Terminal Commands for Linux(Ubuntu, Linux Mint and other Derivatives) -- Part-1





Welcome to you all  to some Basic Terminal Linux Commands Part-1. This blog is going to have some one of the most basic Linux terminal commands that can be useful to beginners. So guys grab a Linux Distro and lets rock on.

1) cal





cal command is used to have a look on calender on running month. Just type cal in terminal as well this command is followed by some arguments such as which-year, cal -3 , etc.

2) date



date command is used to display date of your current time zone.

3) pwd



pwd command is used to print the current working directory of yours

4) cd




cd command stands for change directory and help to change directory from current directory to some other directory.
syntax: cd directory_name

5) sudo




sudo command stands for super user do which give the super user privilege to you or can give you root access to you. just type sudo su to go superuser

6) ls



here ls displays all files folders in a directory



here ls -l displays the files and folders including their user privilege, date of creation, file size, file permissions,etc



here ls -a displays all the hidden files and folders too

7) mkdir




mkdir command stands for make directory that is used to make a new directory.
syntax : mkdir file_name

8) rmdir





rmdir command stands for remove directory that used to remove a specific directory.
syntax : rmdir file_name

9) history





history command is used to view all terminal history used till date.
syntax : history

10) apt

here apt stands for advanced package tool which allows you search, add, remove, update and upgrade you Linux distro.



here apt-get install blueman will install blueman software in my linux distro and sudo will give you super user access.
syntax : sudo apt-get install filename



here apt-get update will get new updates for your Linux distro.


So there are some of the most commonly used commands in Linux terminal. More commands are coming in next part. So till then bye and use Linux




0 comments:

Post a Comment