Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

1.

a)cd-Make a directory

b)mv-It is used to move a file into a directory

C)cut-Used for text processing. You can use this command to extract portion of text
from a file by selecting columns.

d)ls-List all the files in a directory

e)cat-Display all the contents of a file

f)sed-It is sed for substituting the String

g)mkdir-Make a directory

h)cp-Copy file in directory

2.

REMOVE FILE---

rm command is used to remove a file in unix.


Syntax--->rm filename
rmdir is used to remove a directory
Syntax---->rmdir dir-name

3.
ls command is used to list file in directory
ls-a is used to list all hidden files

4.
ssh is used for logging into a remote machine
diff command in unix is used to compare line by line

5.
SEd command displays all line except for header record.

6.
hadoop fs

You might also like