Linux Classes

Linux Classes

Linux show last login user

 

How to show last login on Linux Fedora

 

   The Linux last command can be very useful to show last login user on the system.  The example below show the execution of Linux last command on Linux Fedora system.

 

Show last login user

 

1.  Open Linux  shell terminal Application --> System Tools --> Terminal.


Linux What is root and What is root user the different

 

On Linux What is root and What is root user the different.

 

   They always talk about root... What is root and who is the root user?  This simple short article intend to show the diffrents between both root on Linux system.

 

Who root user.

 

   On Linux system or any other system that require login username and password in order to use the system must have sets of default user on the system... this usually come on the installation of the system.  


Linux Check CPU temperature on Fedora

The example below show how to check CPU teperature on Fedora system. The step by step below start from the installation of gnome-shell-extension-cpu-temperature, this xample done on Linux Fedora 15.

To install the package that can use to monitor CPU temperature you may need root access, so this example start with the su - command.

1. Open Linux x terminal... Application >> system tools >> terminal

2. Execute su - command, then supply the root password when ask.

3. Execute yum install gnome-shell-extension-cpu-temperature to start the package installation.


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.

 

wait linux command


Using Linux pwd command to print current working directory

 

Using Linux pwd command to print current working directory.

 


Syndicate content