Originally posted by LSA+27 March 2004 - 13:31--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (LSA @ 27 March 2004 - 13:31)</td></tr><tr><td id='QUOTE'><!--QuoteBegin-shn@27 March 2004 - 13:21
Question:
There are 5 directories and you are in directory 5.
/home/you/dir1/dir2/dir3/dir4/dir5
From a terminal, how do you move up to dir2 using the cd command.
Do Not use an absolute path.
@LSA -- changed the Link for ya.
cd ../../..
I think that's correct but ATM I don't have a machine to test it on...
------------
Ok good, that link is much better than the lindows rock! 
------------
Hmm, give an example of 'redirecting output'
I hope I worded that right
[/b][/quote]
Code:
head < /.bashrc
Code:
unix@linux:~/work/tmp> ls -la > ls.out
unix@linux:~/work/tmp> ls -la
total 4
drwxr-xr-x 2 unix users 72 2004-03-27 13:19 .
drwxr-xr-x 3 unix users 72 2004-03-27 13:17 ..
-rw-r--r-- 1 unix users 200 2004-03-27 13:19 ls.out
unix@linux:~/work/tmp>
Bookmarks