You are hereLinux Classes
Linux Classes
Linux Classes
Linux help on Chage Command
Linux help on Chage Command.
The command example below show how to get Linux help on chage command... this Linux help on chage command display simple usage information on how to using chage command on your Linux system. To get more help on the chage command you could try get the manual entry of this chage command by using man chage command.
Get Linux help on chage command
Linux Add User to Group
Linux Add User to Group using usermod Command.
The step by step command example below show how to use Linux usermod command in Linux to add user to group that already available on your Linux system. This usermod command is use to add existing user to existing group in Linux system. You may need to check existing Linux user and check existing Linux group available on your Linux system... and then we use usermod command to add user to group. Please note you may need to login as root user to execute command as show on step by step command example below.
Check Linux user group.
chage
Linux chage Command.
Linux chage command is use to chage user password expiry information on Linux system. The Linux chage command is one of external shell command that locate under /usr/bin/ directory. The command example below show how to get chage command manual using shell command, this help show information on how to use the Linux chage command, the chage command options and the arguments that can be use with Linux chage command.
Get Linux chage command manual
Linux Commands
List all Linux commands that can be execute.
List all Linux commands that can be execute or the Linux commands that you can run on your Linux computer or server. The Linux command example below show how you could list all Linux commands using the compgen command. The example below use additional command, sort command and less command to sort and make it easier to display the list of Linux command.
List Linux commands with compgen command
List command alias
List command alias.
Want to know what Linux command that already have been alias on your Linux distro. The step by step example on Linux list command alias below show the example of alias command output that show the list of command that already have been alias on your Linux system.
Linux list of command alias output example.
Login on your Linux system and execute alias command as show on example below to list command alias.
wait
Linux wait command help.
Linux wait command is use to wait for job completion and return exit status. The Linux wait command is one of bash built in command. The command below show how to get Linux wait command help, this help show information on how to use the Linux wait command, the wait command options and the arguments that can be use with Linux wait command.
Get Linux wait command help
Execute help command and the name of Linux command that we want the help file, as show on example below.

Using Linux pwd command to print current working directory
Using Linux pwd command to print current working directory.
Ubuntu run command as root user on shell terminal
Ubuntu run command as root user on shell terminal
On Ubuntu every times you need to run command as root user on shell terminal you may need to use sudo command to make sure that you can run command as root user without using sudo command. To run command that can only execute by privileges user, the sudo command must be put in front of every command that run... that make very annoying when you need to execute many command that need that privileges. The step by step example below show how you can make your terminal or keep your terminal run as root user and you dont have to put sudo command in every command that you want to execute.
Run as root user
1. Open shell terminal.

Check currently login user on your Linux system
Check currently login user on your Linux system.
How to check who is currently login on your Linux system now? To show who is login or if you want to check currently login user... or if you want to check who using your Linux system, just execute who command as show on the example below.
Linux who check currently login user:
Open shell terminal and type in who command and then hit Enter key…

[root@fedora12 ~]# who
List all group on Linux
List all group on Linux Fedora.
How to list all group on Linux system? The command example below show how to list all group on Linux Fedora system. The list of group name came from the group configuration file is store in /etc/group and you can also use cat command to display the contents of group file. Please note that you may need root user privilege to view the contents of group file.
List all group in Linux example:
1. Open the shell terminal, type in su - command to become root user.