반응형
17. Exercise 1
4 Find out what files are in /bin, without changing your current
directory. You should recognise the names of some of the programs
stored there.
$ls /bin
19. Exercise 3
1 Copy the file /etc/passwd to your home directory, and then use cat
to see what’s in it.
$cp /etc/passwd .
3 Make a directory called programs and copy everything from /bin
into it.
$mkdir programs
$cp /bin/* programs
4 Delete all the files in the programs directory.
$rm -f *
12. Exercise 1
2 Try replacing the echo command with some other commands which
produce output (e.g., whoami).
출처 : http://training.gbdirect.co.uk/
4 Find out what files are in /bin, without changing your current
directory. You should recognise the names of some of the programs
stored there.
$ls /bin
19. Exercise 3
1 Copy the file /etc/passwd to your home directory, and then use cat
to see what’s in it.
$cp /etc/passwd .
3 Make a directory called programs and copy everything from /bin
into it.
$mkdir programs
$cp /bin/* programs
4 Delete all the files in the programs directory.
$rm -f *
12. Exercise 1
2 Try replacing the echo command with some other commands which
produce output (e.g., whoami).
출처 : http://training.gbdirect.co.uk/
반응형
댓글