Linux Classes

Linux Classes

history

 

Get help on Linux history command.

 

   Linux history command is use to display command history list or manipulate the command history list on Linux system.  The Linux history command is one of bash shell built in command.  The command below show how to get get help on Linux history command, this help show information on how to use the Linux history command, the history command options and the arguments that can be use with Linux history command.

 

Get Linux history command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command to get help for history command.

 

history linux command


enable

 

Get help on Linux enable command help.

 

   Linux enable command is use to enables and disable shell builtins command on Linux system.  The Linux enable command is one of bash shell built in command.  The command below show how to get help on Linux enable command using shell command, this help show information on how to use the Linux enable command, the enable command options and the arguments that can be use with Linux enable command.

 

Get Linux enable command help

 


cd

 

Linux cd command help.

 

   Linux cd command is use to change directory (go from one directory to another directory) on Linux system.  The Linux cd command is one of bash built in command.  The command below show how to get Linux cd command help, this help show information on how to use the Linux cd command, the cd command options and the arguments that can be use with Linux cd command.

 

Get Linux cd command help

 


pwd

 

Linux pwd command help.

 

   Linux pwd command is use to print current working directory.  The Linux pwd command is one of bash built in command.  The command below show how to get Linux pwd command help, this help show information on how to use the Linux pwd command, the command options and the arguments that can be use with Linux pwd command.

 

Get Linux pwd command help

 

  Execute help command and the name Linux pwd command as show on example below.


Check Network Card Driver on Linux Fedora using ethtool

 

Check Network Card Driver on Linux Fedora using ethtool.

 

   How to check network card driver on Linux Fedora system?  the example below show the step by step command execution to check network card driver on my Linux Fedora system.  The step by step command execution below show the out put from ethtool command that show the network card driver name... and the second command execute on the example below, the modinfo command show the detail about network card driver module that loaded..

 

Check Network Card Driver example.

 


Check IP Address on Linux Fedora using ifconfig command

 

Check IP Address on Linux Fedora using ifconfig command.

 

   The example below show how to check IP Address on Linux Fedora using ifconfig command.  The ifconfig command with -a option show all network interface information, even if the network interface is down.  To check IP Address on Linux Fedora machine just execute ifconfig -a command and locate your IP Address  that label inet addr: as show on command example below

 

 


View text file content on Linux

 

View text file content on Linux Fedora using cat command.

 

   The command example below show how to view text file content on Linux Fedora using cat command.  The cat command, concatenate files and print on the standard output, in our example we display the text file content to the monitor screen.

 

View file content using cat command.

 


Create Directory on Linux Fedora using mkdir command

 

Create Directory on Linux Fedora using mkdir command.

 

   The command example below show how to create directory on Linux Fedora system, the mkdir command can be use on other Linux operating system to create directory.  The step by step example below start with create directory using "learn-create-directory" as an directory name in our example.  The command example below create new directory on your current working directory, and then using the ls command to verify that you create the directory on your system.

 


How to clear command history using Linux history command

 

How to clear command history using Linux history command.

 

   The Linux command history is a list of Linux command that you execute in or on current shell session.  This list of command history is store inside your home directory, in hidden file called ".bash_history".  The default configuration of command history can store up to 500 entry of your previous executed command.  This list of history command is quite annoying if you want to hide your track or if you want to hide the command entry that you have execute in your shell session.  The example below show how clear command history using history command.

 


View Linux Filesystem Hierarchy Directory Tree using tree command

 

View Linux Filesystem Hierarchy Directory Tree using tree command.

 

   Linux filesystem directory tree start from root directory ( / ).  There is other files and directory under the root (/) directory,  these organization of files and directory usually base on FHS standard, Linux Fedora and many other Linux Distros follow FHS standard or FHS complience.  The FHS make it possible that the Linux filesystem and directory structure on all Linux distros that follow the FHS have same structure.  The example below show how we can use the tree command to have good overview on Linux filesystem hierarchy... just follow example below to view Linux filesystem hierarch or some say view Linux directory tree...


Syndicate content