Difference between revisions of "Talk:Shell Tips"
From WikiDLXTV
(Created page with 'As someone who knows next to nothing about Linux but knows his way around a DOS command line, I found Shell Tips to be a useful start. I did see a couple of things I think are e…') |
|||
Line 8: | Line 8: | ||
Under "Putting commands together" one example says: | Under "Putting commands together" one example says: | ||
− | '''last > /tmp/lastlogins.tmp | + | '''last > /tmp/lastlogins.tmp''' |
+ | |||
+ | '''This will print all the current login history to a file called lastlogins.tmp in /root/''' | ||
− | |||
− | |||
I would expect it to put the file in /tmp/. If I'm wrong, that will add to my understanding of Linux. | I would expect it to put the file in /tmp/. If I'm wrong, that will add to my understanding of Linux. |
Latest revision as of 10:06, 6 January 2011
As someone who knows next to nothing about Linux but knows his way around a DOS command line, I found Shell Tips to be a useful start. I did see a couple of things I think are errors; they would be in DOS (and I don't mean "/" instead of "\").
The example for using the nano editor uses the pico editor.
* nano : friendly, easy to use file editor (ex: pico /conf/S00user-script : edit the custom options user file)
Under "Putting commands together" one example says:
last > /tmp/lastlogins.tmp
This will print all the current login history to a file called lastlogins.tmp in /root/
I would expect it to put the file in /tmp/. If I'm wrong, that will add to my understanding of Linux.