Unix / Linux Commands
Posted by admin on 8 July, 2009
1 comment so far
This item was filled under [ Linux ]
File Commands
ls
directory listing
ls -al
formatted listing with hidden files
cd dir
change directory to dir
cd
change to home
pwd
show current directory
mkdir dir
create a directory dir
rm file
delete file
rm -r dir
delete directory dir
rm -f file
force remove file
rm -rf dir
force remove directory dir
cp file1 file2
copy file1 to file2
cp -r dir1 dir2
copy dir1 to dir2; create dir2 if it doesn’t exist
mv file1 file2
rename or [...]