Absolute and Relative Path

1. Absolute Path: An absolute path is defined as specifying the location of a file or directory from the root directory(/). In other words, we can say that an absolute path is a complete path from start of actual file system from “/” directory. 2. Relative Path: Relative path is defined as the path related…

Archive and Compress Files or Directories

Archive n Compress Files (Tar n Zip Command) An Archive file is a file that is composed of one or more files along with metadata. Archive files are used to collect multiple data files together into a single file for easier portability and storage, or simply to compress files to use less storage space.  Tar:…

Filter Output (Grep Command)

Filter Output (Grep Command ) 1. Grep: (global regular expression print) : The grep filter searches a file for a particular pattern of characters, and displays all lines that contain that pattern. The pattern that is searched in the file is referred to as the regular expression. grep [options] pattern [files] Options Description -c :…

Search (Locate n Find Command)

Search (Locate and Find Command) In Linux we can use Locate and Find command to search file or directory or content of the file.  locate— The locate command is used to locate a file in a Linux system, just like the search command in Windows. This command is useful when you don’t know where a file is…

Copy, Move n Rename Command

Copy, Move and Rename Command cp (Copy): The cp command will make a copy of a file for you. Example: “cp ramu.txt” will make an exact copy of from current directory to /home/raju/Desktop/raju directory. 2. Mv (Move/Rename):  The mv command will move a file to a different location or will rename a file. Examples are as follows: “mv file foo” will…

Create n Remove Directory n File

Create n Remove Directory and File mkdir: The mkdir command will allow you to create directories. Example: “mkdir rghimire” will create a directory called “rghimire”. 2. rmdir: The rmdir command will delete an empty directory. 3.touch: The touch command is used to create a file. It can be anything, from an empty txt file to an…

.np Domain Registration

How to Register for .np Domain and get your first Domain Free of cost.  Domain registration is the first process of creating website, either its personal website or for your organization. Below are the steps of domain registration on .com.np domain. And its absolutely free to register your personal domain or company domain on .com.np. Follow…