Thursday, May 24, 2007

storage

just so I don't forget, while I'm learning some more unix commands, here are some useful ones that I have needed while backing up files:

sudo
while in the sadmin account, using sudo as a prefix allows the command to run with ALL privileges. For instance, when I try to normally tar a file it gives me an error saying that I do not have the privileges to read some of the files and can not tar it. If I type sudo tar file.tar blah blah it works and then restores my usual privileges.

du
du is the disk usage command for instance:
du -s /home will give me a printout of the summary (hence -s flag) of all the folders and files in the home directory.

Today I have spent most of my day trying to make tar files to backup onto discs. Also I have been updating burns to ubuntu 7.04. So far I have updated from version 6.04 to 6.10 and as far as I know it seems to be just fine. It took a while though, I must have started it around 11:30 or so and it just kept running through my lunch break. I came back and after a little bit I started getting messages asking me if I wanted to keep certain configurations of files. I took the option to 'keep' all the configurations the same, I'm not sure if this was needed but there was one for a login configuration. Perhaps if the login configuration stays the same then we won't have to deal with the NIST stuff and everyone will be able to log into the computer just as they had.