Basic Commands in Linux

24 15
Read Time:1 Minute, 5 Second
To work in a Linux command, The user should select ‘Terminal’ mode.
(open: CLT+ALT+F1 close: CLT+ALT+F7)

In Linux # indicates admin(root) user and $ indicates the default/normal user.

  • $logname : This command display the current username.

  • $pwd : This command display the present working directory.

  • $clear : This command clears the screen.

  • $logout : This command logout used from the current user.

  • $date : This command displays date and time.

  • $who am i : This command use to display current username, terminal number, date and time at which you logged in the system.

  • $who : This commnad display information about all users who logged into the system.

i.e each username, ternimal number, date and time at which the users logged into the system.

  • $finger : It displays complete information about all users who logged into the system.

  • $cal : This command display previous/current calender.

$cal year 
usage : $cal 2013
$cal month year
usage: $cal 3 2012

  • $init : This command is use to change the system behaviour at run level.

#init 1 : This command bring the system to single usermode.
#init 2 : This command brings the system to multi usermode.
#init 3 : This command brings the system to multiuser mode with resource shared.
#init 6 : This command hunts and reboot the system to default run level.

About Post Author

Vishal Barot

Hi there, Vishal Barot here. Full-time web developer and graphic designer with over 10 years of experience. I've been experimenting with web development since I was 17 years old. If you are looking to have a professional website or design then I can develop it for you. Looking forward to working with you.
Happy
Happy
14
Sad
Sad
8
Excited
Excited
12
Sleepy
Sleepy
12
Angry
Angry
13
Surprise
Surprise
10

Leave a Comment

Your email address will not be published. Required fields are marked *