Linux Commands 2
Linux Commands 2
id user_name To check the user id and group id of a user, useful to check if a user is created or not
who Users who are logged into the system and their terminals
tty The tty command writes the name of your terminal to standard output
last All details of users (with ip address also) who have logged into the system from the created date
w Logged in users details with processes run
write username To write a message to a specific logged in user of the system. Hit enter and then write your message, enter to send. Ctrl +d to
exit
wall To write a message to everybody logged in. hit enter to write message and to send a message ctrl+d