Basic Linux Commands
Step by Step List and Show hidden File and Hidden Directory using ls Command on Fedora System
The ls command can be use to show and list all file and directory including hidden file and hidden directory inside Linux system... The command example below use the ls command to show all files and directory including the hidden file and hidden directory on Linux fedora system. Please note that on Linux/Unix system, hidden files is mark by the dot in front of its file name and hidden directory is mark by the dot in front of its directory name.
Example: Show hidden file using ls command:
Step by Step Cancel Shutdown on Fedora Linux using shutdown Command
The command example below show step by step to use shutdown command to cancel shutdown in progress on Fedora Linux system. You may need to log on as root user to cancel shutdown on certain Fedora system... In order to show the example of cancel shutdown process that in progress on Fedora system, we start the command example by running shutdown command.
Running Shutdown Process on Background
View Fedora Linux Directory Tree Using tree command
The directory in Linux Fedora can be view by tree like format using the tree command. The example below show the use of tree command to display Linux Fedora directory in tree like format, the example below also show the use of tree command to display directory inode number and files inode number on Linux Fedora system.
tree command example:
Update database for locate command with updatedb command
The updatedb command is use to update the database entry that use by locate command to search faster for files or folder in Linux system. The database usually automatically updated daily by cron. The example below show the use of updatedb command manually.
Type in the updatedb command on the terminal and then hit the Enter key.. wait for few second..
Using uname Command to check Linux Version and System Information.
The uname command can be use to print / display the Linux system information, the uname command also can be use to get the current version of your Linux operating system. The basic Linux command article below use the uname command to get Linux version or to check kernel version name and other system information on Linux Fedora operating system.
Get and display all system information on Linux machine:
Create file and display file contents in Linux using cat command.
There is many way display the contents of file to the screen and there is so many way to creating a file in Linux. The most simples way to create file is using the cat command. Linux cat command ( concatenate ) also can be use to display files contents to you computer screen for viewing.
Linux command name: cat
Cat command description:
Display calendar with cal command.
Using the cal command to display calendar of current month and year. With cal command you could also display future and previous month or year calendar. To display calendar just type cal and hit the Enter key on the keyboard... and waaalaaa.... you get your self pretty darn calendar of current month and you also can see that the current date is highlighted. The example below show the execution of cal command.
1. The cal command execute without any option give you current month with the current date highlighted.
Using Linux alias command to create an substituted for Linux command.
Using Linux alias command to allow a string of Linux command ( long line of command ) to be substituted for a simple word command on fedora core system.
Browse from one directory to another directory with change directory cd command.
Browsing from one directory to another directory with cd command. The example below show the basic step on using the cd command to navigates / browsing through directory on the Linux system.
Copy all contents inside Linux directory include the hidden files and hidden directory using cp command.
The cp command also can be use to copy all files and folder include all the hidden files and hidden directory, this is useful if we want to copy all the directory contents, as example that we want to copy the user home directory for backup.
• Set shopt dotglobe option to enable.
• Copy hidden files and folder.