The trials of trying to install Linux distros while being not very technical

Apr 23, 2009 23:06

This evening I spurned a very tempting social invitation to stay home and install a new OS on my eeee. Oh how I wish I hadn't...

Linux: 2 (evenings). Triskellian: 0 (successes) )

tech

Leave a comment

uitlander April 24 2009, 06:12:37 UTC
To move files:

mv [source file] [destination path/desired filename]

To copy files:

cp [source file] [destination path/desired filename]

To delete files:

rm [file to be deleted]

Reply

uitlander April 24 2009, 06:21:45 UTC
oh and these may be useful as well...

WTF am I in this file structure?: pwd

WTF is that file I, I know it's somewhere?: locate [filename]

WTF is that file, it was called, um, something like?: locate *[bit of filename]*

I need to stick this lot in a new directory: mkdir [new directory name] followed by cp or mv.

Is this a permissions thing? What permissions do I have on this lot?: ls -alx

OK, so I need to change the permissions (very, very carefully): chmod [numeric value for permissions] [filename]

Reply

triskellian April 24 2009, 07:08:47 UTC
Thank you :-) I remembered some of those, and found some others in my wanderings, but there are several I hadn't yet encountered.

Reply

smiorgan April 24 2009, 08:38:35 UTC
To use locate you need to issue

updatedb

as root, I think. That takes a snapshot of the filesystem.

Reply

knirirr April 24 2009, 09:30:22 UTC
That is indeed the case.

It might be worth having a look at Fedora as well, which seems to have support for the 901 (the link goes to the Eee PC page).

Reply

onebyone April 24 2009, 12:53:00 UTC
WTF is that file, it was called, um, something like?: locate *[bit of filename]*

I'd expect to have to quote any argument containing *, to prevent expansion by the shell in the current directory before locate is called:

locate "**"

Otherwise, it goes screwy if there just so happens to be a file in the current directory which patches the pattern.

Reply


Leave a comment

Up