Difference between revisions of "Linux"

From Ghoulwiki
Jump to: navigation, search
 
Line 12: Line 12:
 
   echo hallo | sed  's/ll/gonzo/g'  # : g replace all instead of only the first
 
   echo hallo | sed  's/ll/gonzo/g'  # : g replace all instead of only the first
 
   ls -l | awk '{print $4}'  # tab and space : intelligent column search : column 4
 
   ls -l | awk '{print $4}'  # tab and space : intelligent column search : column 4
 +
 +
 +
mount hd from rescue system, and chroot with rebind
 +
  mount /dev/sda3 /mnt
 +
  mount --rbind /dev /mnt/dev
 +
  mount --rbind /sys /mnt/sys
 +
  mount --rbind /proc /mnt/proc
 +
  chroot /mnt

Revision as of 14:17, 7 October 2007

a few notes about linux (will be expanded as time goes by)

Ghoulsblade 12:50, 25 September 2007 (CEST) : i use kubuntu feisty at the moment, planning to upgrade to gutsy soon. so far my external usb drive and my digicam works fine, but my scanner and my wlan are a pain in the ass. i only use win for scanning some warcraft3 gaming, but for the rest i use linux.



 echo hallo | sed  's/ll/gonzo/g'  # : g replace all instead of only the first
 ls -l | awk '{print $4}'   # tab and space : intelligent column search : column 4


mount hd from rescue system, and chroot with rebind

 mount /dev/sda3 /mnt
 mount --rbind /dev /mnt/dev
 mount --rbind /sys /mnt/sys
 mount --rbind /proc /mnt/proc
 chroot /mnt