Professional Documents
Culture Documents
Lam Manual 51
Lam Manual 51
1. echo f*:
This command is used to display folders
whose name begin with f character.
Type echo f*.
Press Enter.
Note: you can type any character instead of
“f” as per your requirement.
2. echo *f:
This command is used to display folders
whose names end, at f character.
Type echo *f.
Press Enter.
Note: you can type any character instead of
“f” as per your requirement.
3. uptime:
It tells how long the system has been
running.
Type uptime.
Press Enter.
4. hostname:
This command is used to display the
name of system host.
Type hostname.
Press Enter.
5. wc filename:
wc filename is used to cound how
many times a word appears in a file.
Type wc filename.
Press Enter.
6. wc l filename :It shows the number of
lines in a file.
Type wc -l filename
Press Enter.
Instructor: Ma’am Mobeen
1
Operating System Lab 5