Basic Linux Commands

List of the basic Linux command that usually use on Linux system for using, maintaining and administrative purpose.

Copy Linux Files and Copy Directory Using cp Command - Linux Basic Command.

 

Using Linux cp command to copy Linux files and copy directory .

 

The Linux cp command usually use to copy file and copy directory in Linux operating system. The cp command also can be use to make an link to other file in the system. The execution of cp command and all of the example below tested using bash shell on Linux Fedora Core operating system.

 

This article demonstrate step by step procedure on how to use Linux cp command to:

• Copy Linux files.

• Copy all file in directory.


Monitoring and display disk space usage using df command.

 

Monitoring and display disk space usage using df command.

 


Get and display the size of file and directory in Linux system using du command.

 

Get and display the file size and the directory size using du command.

 

   The du command ( disk usage ) gather and summarize about how much your disk space being used by your file and the disk space being use by directory in the Linux system  The du command can be use to find the size of file and the size of directory in Linux system. The example below show the step to use the du command to get the size of file and the size of directory in Linux Fedora Core system.

 

Using du command to get file size.

 


Using the date command to get the current date and time on the system.

 

Using the date command to get the current date and time on the system.

 

   Getting the current system date and time using the date command.  The date command can be use to get the current date and time on the system. The example below show the execution of the date command.

 


Step-by-step how to change login shell using Linux chsh command.

 

Step by step example to change login shell using Linux chsh command.

 

   Using Linux chsh command on the bash shell command prompt to change login shell on Linux fedora core with example.  The article below show the step by step procedure to change shell for user on Linux Fedora Core operating system.

 

Linux command name:  chsh

 

Command Description:


Make directories in Linux with mkdir command.

 

Step by step example using mkdir command to make directories in Linux Fedora.

 


Make or create hidden directory in Linux Fedora with mkdir command.

 

Step by step example to make/create hidden directory in Fedora using Linux mkdir command.

 

Make and using hidden directory with mkdir command on Linux Fedora Core operating system. The hidden directory or file in Linux system begin with '.' (dot) in front of their filename. The example below show step by step process of creating hidden directory in Linux Fedora Core system.

 

1. Create directory called 'folder' and change to that directory.

 


Using pwd command to print current working directory on Linux shell - Basic Linux Command.

 

Step by step using Linux pwd command to print current working directory on you Linux shell.

 

Pwd is the basic command that can be useful to find out where you are in the linux system ( your current directory path), this simple example the step to use Linux pwd command on the bash shell command prompt to print current working directory on Linux fedora core system.

 

Linux command name: pwd

 

Command Description:


Remove directory or delete directory using rmdir command.

 

Remove directory or delete directory using rmdir command.

 

Using the rmdir command to delete empty directory or remove empty directory from the Linux system.

 

Remove directory.

 


Shred Linux command to delete remove files more securely - Basic Linux Command.

 

Step by step using Shred command to delete remove files more securely.

 

Securely remove files on Linux system with shred command. The shred command is used to shred Linux files so that the files cannot be recover. This article show the step by step process on remove file from the system using shred command.

 

Linux command name: shred

 

Command Description:

To remove files on Linux system so that the files cannot be recover.


aaaaaaaaaaa
Syndicate content