Amit Dhamu

Software Engineer

UNIX Commands

copy a file

cp mydir/file mydir/file_copy

create directory

mkdir mydir

delete file

rm mydir/file

move a file

mv olddir/file newdir/file

delete directory and contents inside

rm -r mydir

list files and folders

ls -o mydir #current dir
ls -ao mydir #current dir including hidden files

change password


clear screen


browse directory

cd mydir

go to home folder

cd ~

close session


 ssh / command line / putty / terminal / bash / unix

Insert Character At PositionGit Commands

Show Comments

Made with by Amit Dhamu.
© MMXX. All rights reserved.