Swastik Organization

linux-600x300 0

Remove a file in unix

rm command removes a file from unix system. Remove a File $ rm file1 This will remove the file1 from unix system  

linux-600x300 0

Remove a directory in unix

rmdir is used to delete or remove a directory from unix system Remove a Directory $ rmdir test1 This will remove the test1 directory from your Unix System

linux-600x300 0

Create directory in unix

mkdir is used to create directory or folder in Unix system Create a Directory $ mkdir test This will create a directory named test

linux-600x300 0

Create blank files in Unix

touch command helps to create blank file or files in Unix system Create Single blank file $ touch test1   Create Multiple blank file $ touch test1 test2 test3

linux-600x300 0

Create a file in unix

cat command is used to create a file. $ cat >text1 It will allow you to add contents into text1 file. press ctrl+C  to save you added content into text1 file.   Create file...

linux-600x300 0

How to find a file in Unix

find command is used to search files and directories under Linux and Unix operating systems. Find all PNG (*.png) images in current directory: $ find . -name ‘*.png’ The . represent the current directory...

linux-600x300 0

How to unzip .tgz file using the unix terminal?

abc.tgz and abc.tar.gz files are quite same. Syntax to unpack .tgz and .tar.gz $ tar options abc.tar.gz $ tar options abc.tar.gz pattern $ tar -xf abc.tar.gz $ tar -xvf abc.tar.gz $ tar -zxvf abc.tar.gz...