Mimus 2008-05-16 10:50:49
Well, it only took me about an hour to work out that “cd ..” moves you up
a directory, to the parent directory, when you’re fishing around the
filesystem on the terminal using bash, eg from the directory
“/mimus/whining” to its parent directory “/mimus”.
The man page for bash didn’t seem to have that information, at least in
its explanation of the command “cd” . . . .
BTW, “cd /” takes you to the root directory, the Mother of All
Directories, and “cd -” takes you to the last directory you were in, and
“cd” by itself takes you back to your home (user) directory, eg
“/usr/home/mimus” (a nice bail-out maneuver).
Also, “dir” doesn’t list system and hidden directories prefaced with a
“.”, although “dir -a” does, and even “dir -a” doesn’t tell you what
an entry is, file or directory or what; you need to use “dir -p” or “dir
-a -p”, when directories will end in “/”s.
Finally, “find -name
files in or below your home directory containing “
names; you can search the whole filesystem this way using “sudo find
own, if you’re using Ubuntu).
Incidentally, if you blow that last one, you can easily end up dumping
every filename in the filesystem to yer terminal, which will take awhile,
and the only way I know of to stop that is to exit the terminal by
clicking on its upper right hand “x” button (you’d think there’d be a key
to do that, but I have proven that “Esc” doesn’t work, anyway . . . ).
Another five years and I’ll have this stuff down pat.
Clay 2008-05-16 10:50:50
try: apropos cd
instead of dir. -a works with it too.
(I dir’d too when I first delved into the Linux world 4 months ago.
Learned a bunch since then…)
Ctrl+c will break (stop) the command.
(don’t shoot me, I’m just learnin’ 😉
Mimus 2008-05-16 14:13:47
You’re about two months ahead of me.
Have you cried at any point?
Clay 2008-05-16 17:18:01
No, but I could’a shot my monitor a couple times. *g*
About a month into building a PVR box and trying to make MythTV work (a
20 minute process had I chose to use WinTV or one of the other ‘doz
derivatives…) 6.06 came out so I found myself flatlining it and
Sure, I could have just updated but so much was already screwy, starting
over seemed to be the safest alternative.
Then I find I’m not using the best kernel, start over again.
Then I find I’ve jacked my partitioning, leaving 220 GB unavailable…
Flatline and start over.
Then 6.06 gets an update to it’s kernel but by know I know how to fix
what it breaks and bust my buttons as I quickly get MythTV going again.
I could have rented a recorder box from the cable company for ~$12.00 a
month. Heck, in about 7 years my Dapper PVR will have paid for itself!
It’s been running for about a month now, without attention. I’m afraid
I’ve forgot half of what I learned building it. I think I’ll install it
on another beater I have laying around just to keep sharp on Ubuntu.