rusers Command in Linux with Examples

This tutorial explains Linux “rusers” command, options and its usage with examples. rusers – who is logged in to machines on local network Description : The rusers command produces output similar to who, but for the list of hosts or all machines on the local network. For each host responding to the rusers query, the … Read more

advertisement

rwall Command in Linux with Examples

This tutorial explains Linux “rwall” command, options and its usage with examples. rwall – send a message to users logged on a host Description : The rwall command sends a message to the users logged into the specified host or to users on all hosts in the specified netgroup. The message to be sent can … Read more

advertisement

10+ usermod Command Examples in Linux

This tutorial explains Linux “usermod” command, options and its usage with examples. usermod – Modify a user account Description : The usermod command modifies the system account files to reflect the changes that are specified on the command line. Usage : usermod [options] username Options : -a, –append Add the user to the supplementary group(s). … Read more

advertisement

userdel Command in Linux with Examples

This tutorial explains Linux “userdel” command, options and its usage with examples. userdel – Delete a user account and related files Description : The userdel command modifies the system account files, deleting all entries that refer to login. The named user must exist. Usage : userdel [options] username Options : -r Files in the user’s … Read more

advertisement

users Command in Linux

This tutorial explains Linux “users” command, options and its usage with examples. users – print the user names of users currently logged in to the current host Description : Output who is currently logged in according to FILE. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common. Usage : users [OPTION]… [ … Read more

advertisement

locate Command in Linux with Examples

The locate command in Linux retrieves file names from databases generated by updatedb(8), matching specified patterns. When patterns lack globbing characters, locate assumes an asterisk before the pattern. By default, it doesn’t verify file existence but mandates parent directories in the database. It cannot locate files created after the database’s last update. If –regex isn’t … Read more

advertisement

10+ lsof Command in Linux with Examples

This tutorial explains Linux “lsof” command, options and its usage with examples. lsof – list open files Description : lsof is a command meaning “list open files”, which is used in many Unix-like systems to report a list of all open files and the processes that opened them. Usage : lsof [OPTIONS] Options : -u … Read more

advertisement

5+ chage Command Examples in Linux

This tutorial explains Linux “chage” command, options and its usage with examples. chage – change user password expiry information Description : chage changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change her password. The … Read more

advertisement

id Command in Linux with Examples

This tutorial explains Linux “id” command, options and its usage with examples. id – print real and effective UIDs and GIDs Description : This command is useful to find out the following information: 1. Find a specific user’s UID. 2. Find a specific user’s UID. 3. Find out all the groups a user belongs to. … Read more

advertisement

10+ useradd Command with Examples in Linux

This tutorial explains Linux “useradd” command, options and its usage with examples. useradd – Create a new user or update default new user information Description : useradd is a low-level utility for adding users to a system. In general, the more friendly adduser command should be used instead. Your operating system may come with a … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.