Linux command

Linux command

Linux show last login user

Basic Linux Command Example: 

 

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.

fedora terminal

 


chage

 

Linux chage Command.

 


Linux Commands

Basic Linux Command Example: 

 

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 command alias

Basic Linux Command Example: 

 

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

Basic Linux Command Example: 

 

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


Ubuntu run command as root user on shell terminal

Basic Linux Command Example: 

 

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.

Ubuntu open 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…

Check currently login user on your Linux system

[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:

 


null

Basic Linux Command Example: 

 

Get help on Linux null Command.

 

   The command example below show how to get null ( : ) command manual or help on Linux null command using shell command.

 


conditional

Basic Linux Command Example: 

 

Get help on Linux conditional Command.

 


Pages

Subscribe to RSS - Linux command