Linux Commands

 Basic Linux Commands


ls                                  -                          List of files

lsr
                                 -                      List of files recursively

mkdir 
                           -                      Make directory

rmdir
                             -                      Remove directory

touchz
                            -                     To Create file

cat                                  -                    To read the file

rm                                   -                    Remove File Or Directory

rmr                                  -                    Remove file or directory recursivley

copyFromLocal Or put   -                      Copy data from local directory

CopyToLocal Or get       -
                      Copy data to local directory

moveFromLocal              -
                      Move data from local directory

MoveToLocal                  -
                       Move data to local directory

cp
                                     -                    Copy files Within HDFS

mv
                                    -                    Move files Within HDFS

rmr
                                    -                   Delete files or directory in hdfs recursively

du
                                      -                   Give size of each file in directory

dus
                                    -                   give total size of file or directory

stat
                                    -                   give last modified time of directory or file

Comments

Post a Comment

If you have any doubts, Please let me know

Popular posts from this blog

Hadoop

Rack Awareness Algorithm

Big Data