Fork me on GitHub
Nation Pigeon

Viewing Monthly Archive June 2011

Get the first n chars for each line of a file

27th June 11 | Linux

cat file | colrm n File’s contents: 8765 I like eating pie 8956 Sometimes I think I’m a robot 8796 I wonder what being a cat is like 4567 Time for food 4523 Pew Pew pew Space pope8765 I like eating pie cat file | colrm 4 Output: 876 895 879 456 452 Hope that [...]

[ Read More → ]

GRUB Quick Tips

20th June 11 | Linux

Some tips when GRUB gets angry and goes wrong, after/during an install. Use this command to locate grub stage 1: find /boot/grub/stage1 Set the GRUB root to the location of stage 1: root (hd0,0) Now that we have found the GRUB on the hard drive, load the config file and your away. configfile /boot/grub/grub.conf This [...]

[ Read More → ]

Copyright © 2007 ∞ Nation Pigeon - Designed by Peter Mayanrd
Theme Based on Black-Green - Fork it on GitHub