Linux System Management Commands
The following commands are mostly we are using in the Linux system , So i am here mentioning the important thing what we are using our daily usage in Linux system management commands.
- exit Terminates the shell.
- halt Stop the system.
- init Process control initialization. (init 3)
- logout Log the user off the system.
- poweroff Brings the system down.
- reboot Reboot the system.
- runlevel List the current and previous runlevel.
- shutdown If your system has many users, use the command shutdown -h +time ‘<message>`, where time is the time in minutes until the system is halted, and message is a short explanation of why the system is shutting down. Ex: # shutdown -h +10 'We will install a new disk. System should be back on-line in three hours.‘
- passwd Set a user's pass word. (passwd, passwd <username>)
- quota Display users' limits and current disk usage. (quota, quota <username>)
- quotaoff Turns filesystem quotas off.
- quotaon Turns filesystem quotas on.
- quotacheck Used to check a filesystem for usage, and update the quota.user file.
- edquota Used to edit user or group quotas. (edquota <username>).
- su Single user login. (su -)
- useradd Create a new user or update default new user information. (useradd –g <group> -s <shell> -c <comment> –d <home directory> <username>
- userdel Delete a user account and related files. (userdel <user name>)
- usermod Modify a user account.
- users Print the user names of users currently logged in.
- wall Send a message to everybody's terminal. (wall “text message”)
- who Display the users logged in.
- whoami Print effective user id.
System Time - cal Calendar. (cal, cal 2005)
- date Print or set the system date and time. (date, date MMDDhhmm[[CC]YY][.ss])
- hwclock Set or read the hardware CMOS clock.
- uptime Reports how long the system has been running.
No comments:
Post a Comment