[newbie] Useful URL for newbies
Hello I found this URL to be useful for beginners who have some knowledge, but need a bit of guidance. http://freeengineer.org/learnUNIXin10minutes.html The CLI is not something to be feared. cheers Duncan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
On Monday 21 March 2005 03:04 am, Duncan Anderson wrote: Hello I found this URL to be useful for beginners who have some knowledge, but need a bit of guidance. http://freeengineer.org/learnUNIXin10minutes.html The CLI is not something to be feared. cheers Duncan cool; and it's all on one page too. :) thanks -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
The CLI is not something to be feared. cheers Duncan Is that not so ? I read somewhere about a command that could wipe out your whole system if done as root. Something to do with r and rm and -r I think ... Rosemary PS Not that I am about to do anything so outrageous :-) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
On Monday 21 March 2005 09:08, Rosemary McGillicuddy wrote: The CLI is not something to be feared. cheers Duncan Is that not so ? I read somewhere about a command that could wipe out your whole system if done as root. Something to do with r and rm and -r I think ... Rosemary PS Not that I am about to do anything so outrageous :-) I don't know about a comand to wipe a system but I do know a procedure of how I trash a HD. All I did was use MC to search for test and HD went into orbit. It is now a good paperweight on my desk. What I was searching for were DBs I had created call test1, test2 et. What I got was a trashed HD. Frank Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Rosemary McGillicuddy wrote: The CLI is not something to be feared. cheers Duncan Is that not so ? I read somewhere about a command that could wipe out your whole system if done as root. Something to do with r and rm and -r I think ... Rosemary PS Not that I am about to do anything so outrageous :-) Ha! That reminds me. Once upon a time I used to run a UNIX support department for a big distributor, and we had our own public access ftp server with patches and drivers on it. Anyway, one fine day, I was logged in as root, fiddling around in a subdirectory, and then I typed cd, and enter, and then someone must have distracted me, and then I typed rm * and pressed enter. Since this was an old UNIX box, cd on its own takes you to the / directory. root does not have its own home as on Linux. OOPS! Not only did that UNIX box not have its own /root home directory, but it also lacked a separate /boot or /stand directory, so I had just managed to remove the kernel /unix and the boot program /boot. DOUBLE OOPS! Fortunately, I kept my wits about me, and quickly mounted an installation boot floppy from which I copied the /boot program, then I relinked the kernel, which produced a new /unix file, while praying that we did not have a power failure. Phew! None of my support technicians noticed a thing! I reckon I would have been a bit embarrassed if they had. Incidentally, the command you were talking about rm -r is absolutely lethal when run as root in the root directory. cheers Duncan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
SOTL wrote: I don't know about a comand to wipe a system but I do know a procedure of how I trash a HD. All I did was use MC to search for test and HD went into orbit. It is now a good paperweight on my desk. What I was searching for were DBs I had created call test1, test2 et. What I got was a trashed HD. Frank Frank, When you mention MC, what do you mean? (Midnight Commander?) cheers Duncan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Rosemary McGillicuddy wrote: Duncan Anderson wrote: Rosemary McGillicuddy wrote: The CLI is not something to be feared. cheers Duncan Is that not so ? I read somewhere about a command that could wipe out your whole system if done as root. Something to do with r and rm and -r I think ... Rosemary PS Not that I am about to do anything so outrageous :-) Ha! That reminds me. Once upon a time I used to run a UNIX support department for a big distributor, and we had our own public access ftp server with patches and drivers on it. Anyway, one fine day, I was logged in as root, fiddling around in a subdirectory, and then I typed cd, and enter, and then someone must have distracted me, and then I typed rm * and pressed enter. Since this was an old UNIX box, cd on its own takes you to the / directory. root does not have its own home as on Linux. OOPS! Not only did that UNIX box not have its own /root home directory, but it also lacked a separate /boot or /stand directory, so I had just managed to remove the kernel /unix and the boot program /boot. DOUBLE OOPS! Fortunately, I kept my wits about me, and quickly mounted an installation boot floppy from which I copied the /boot program, then I relinked the kernel, which produced a new /unix file, while praying that we did not have a power failure. Phew! None of my support technicians noticed a thing! I reckon I would have been a bit embarrassed if they had. Incidentally, the command you were talking about rm -r is absolutely lethal when run as root in the root directory. cheers Duncan Glad you were able to retrieve the situation -:-) must have been a bit of a sweat for a while. Read that in a book I have somewhere ... ever since been nervous in CLI! cheers Rosemary PS Actually have realised I can move about and look quite safely, and even do so as root sometimes There are some added protections to make doing that even harder now. When you type rm from the command line, you are actualy running rm -i thanks to a handy alias. So you would be asked to confirm every deletion. When you get asked about the first one, hit Ctrl-c, and it will abort the command. Not that you want to be logged in as root, unless you realy need to for what you are doing. But it is harder to break things then it used to be. There are still a lot of things you can do as root that will break the system. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
On Monday 21 March 2005 07:34 am, Duncan Anderson wrote: SOTL wrote: I don't know about a comand to wipe a system but I do know a procedure of how I trash a HD. All I did was use MC to search for test and HD went into orbit. It is now a good paperweight on my desk. What I was searching for were DBs I had created call test1, test2 et. What I got was a trashed HD. Frank Frank, When you mention MC, what do you mean? (Midnight Commander?) cheers Duncan MC is a cloneof midnight commander urpmi mc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Mikkel L. Ellertson wrote: There are some added protections to make doing that even harder now. When you type rm from the command line, you are actualy running rm -i thanks to a handy alias. So you would be asked to confirm every deletion. When you get asked about the first one, hit Ctrl-c, and it will abort the command. Yes, isn't Linux (especially Mandrake) just wonderful? Not that you want to be logged in as root, unless you realy need to for what you are doing. But it is harder to break things then it used to be. There are still a lot of things you can do as root that will break the system. Mikkel It's a bit bit like walking on thin ice, isn't it? As a general rule, one should su to root only when it is absolutely necessary. I am a reformed root user. What I mean by that is that I always used to log in as root at home, because I never had to worry about permissions on devices, directories, etc. It was a form of laziness. I did this for years, but lately I have got into the habit of trying to make things work as a normal user. (I still run xmms and k3b as root, though. Probably laziness.) cheers Duncan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Duncan Anderson wrote: Mikkel L. Ellertson wrote: There are some added protections to make doing that even harder now. When you type rm from the command line, you are actualy running rm -i thanks to a handy alias. So you would be asked to confirm every deletion. When you get asked about the first one, hit Ctrl-c, and it will abort the command. Yes, isn't Linux (especially Mandrake) just wonderful? Not that you want to be logged in as root, unless you realy need to for what you are doing. But it is harder to break things then it used to be. There are still a lot of things you can do as root that will break the system. Mikkel It's a bit bit like walking on thin ice, isn't it? As a general rule, one should su to root only when it is absolutely necessary. I am a reformed root user. What I mean by that is that I always used to log in as root at home, because I never had to worry about permissions on devices, directories, etc. It was a form of laziness. I did this for years, but lately I have got into the habit of trying to make things work as a normal user. (I still run xmms and k3b as root, though. Probably laziness.) cheers Duncan I think we are saying the same things here, but in different ways. I don't normaly log in as root, or even su -. I do most things as a normal user. About the only things I use root for are when I am playing with udev rules, testing disaster recovery programs, or installing software. Unfortunitly, root is required there. Disaster recovery testing has the biggest potential for disaster, because I am doing things like wiping the partition table, and trying to recover it. I guess I could set up a way to do that as a normal user, but I don't realy want to - that scares me more then logging in as root. But then, a normal user shouldn't be able to do the things I am doing during testing anyway. That is what I mean be realy need to. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
aron smith wrote: On Monday 21 March 2005 07:34 am, Duncan Anderson wrote: Frank, When you mention MC, what do you mean? (Midnight Commander?) cheers Duncan MC is a cloneof midnight commander urpmi mc How can something be a clone of itself? :-) Surely you mean mc is a clone of Norton Commander. Actually it is more of a case of Norton Commander on steroids. Anyway, I was wondering how mc could trash a hard drive. It sounds a bit wierd. I always use mc. It worries me that someone can blame it for hard disk failure. Duncan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com