My exercises all went fine. Nothing went wrong when configuring the two files using nano.
When in the server, I tried many commands. The following are some of them.
ls showed me my home files.
ls /bin showed me a screen full of files.
ls –l showed me the home files in long form.
ls -1 /etc /bin showed a couple pages of files.
ls –la .. showed four lines, the first line said “total 12.” The next three were
drwxr-xr-x 3 root root 4096 2008-06-09 19:35 .
drwxr-xr-x 21 root root 4096 2008-06-09 19:27 ..
drwxr-xr-x 2 megan megan 4096 2008-06-15 20:15 megan
cd /etc and then ls to see files. One file was named magic.
less magic went into something and I wasn’t sure what it was. I couldn’t get out. I finally just pressed a bunch of buttons and a screen called “Summary of Less Commands” came up. I scrolled down and it gave more instructions on how to search, jump, change files, miscellaneous commands, options, and line editing. When I got to the bottom, I pressed q to get out. But then I was in the same stuck place. Finally I typed :q and got back to the command line.
ls –lt head got the same results as ls –la.
du sort –nr got the results:
44 .
40 ./megan
grep stop\)* and nothing came up. Then I didn’t know how to get the command line back again. I tried :q, but it didn’t work.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment