Command Usage Description
ls ls /directory_path Shows list
eg: ls /usr of files
cd cd /Directory_path Change
eg: cd /usr/lib/Hadoop-0.20 directory
pwd pwd Print
current
directory
name
cp cp file_path /destination_directory_path Copy files
eg: cp abc /home/cloudera/
mv mv file_path Moves
/destination_directory_path file from
eg: mv myfile /newdirectory one
directory to
mv current_filename new_filename another
eg: mv f1 f1_newname directory
or
Renames a
file
rm rm file_path Deletes file
eg: rm /home/cloudera/file_name