Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some questions
#2

to edit files that require root privaledge simply type

 



Code:
su -




 

the - after su is important.

 

once done, you are logged in as root, and can edit files using a variety of methods, the editor i'd suggest you learn is called 'vi' and while it appears hard to use at first you'll get the hang of it after a while

 

vi /path/to/some/file

 

to see your hard discs as root type

 



Code:
fdisk -l




 

thats -l as in larry

 

cheers

 

anyweb

Reply


Messages In This Thread
Some questions - by NeXz - 2005-03-10, 09:20 AM
Some questions - by anyweb - 2005-03-10, 01:08 PM
Some questions - by NeXz - 2005-03-10, 02:46 PM
Some questions - by anyweb - 2005-03-10, 05:03 PM
Some questions - by xDamox - 2005-03-10, 08:19 PM
Some questions - by NeXz - 2005-03-10, 08:41 PM
Some questions - by anyweb - 2005-06-17, 01:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)