Linux
Linux
Linux
Working with Files
• ls -to list all the files and or folders in a current directory by default
Options:
-a: to list all files that are hidden ‘.’
-l: to list in a long format showing file attributes and permission
• ls –a -list all hidden files, starting with ‘.’
• ls –l -gives a long listing showing file attributes and file permissions
drwxrwxr-x 6 hgsjdkdf hdjkcfnd 4096 Sep 14 10:40 test
-rwx-w-r-- 1 hvkhdshjd vhjvhjvgh 140 Nov 17 09:10 test.c
• cd -changes the directory