|
@ -1,13 +1,13 @@ |
|
|
echo "List Files and Directories with ‘/’ Character at the end" |
|
|
echo "List Files and Directories with / Character at the end" |
|
|
echo "-----------------------------" |
|
|
echo "-----------------------------" |
|
|
ls -F / |
|
|
ls -F / | head -5 |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Recursively list Sub-Directories" |
|
|
echo "Recursively list Sub-Directories" |
|
|
echo "-----------------------------" |
|
|
echo "-----------------------------" |
|
|
|
|
|
|
|
|
ls -R / |
|
|
ls -R / | head -5 |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -15,12 +15,12 @@ echo "Sort Files by File Size" |
|
|
echo "-----------------------------" |
|
|
echo "-----------------------------" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ls -lS /usr/share |
|
|
ls -lS /usr/share | head -5 |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
echo "Display UID and GID of Files" |
|
|
echo "Display UID and GID of Files" |
|
|
echo "-----------------------------" |
|
|
echo "-----------------------------" |
|
|
|
|
|
|
|
|
ls -n /usr/share |
|
|
ls -n /usr/share | head -5 |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|