Sunday, March 8, 2015

Linux - File Commands

ls: List all the directory.

ls –al: Formatted listing with hidden files

ls -lt: Sorting the Formatted listing by time modification

pwd: Show current working directory

cd: Change to home directory

cd dir: Change directory to dir
cd dos 

mkdir dir Creating a directory dir
mkdir Test\ 02 (File Name: Test 02)

rm -r dir: Deleting the directory (Test 02 Directory Deleted)
rm -r Test\ 02






No comments:

Post a Comment