Archive

Archive for April 3rd, 2007

cat can have some handy features too.

April 3rd, 2007 Chris Ganderton No comments

Another nifty thing I figured out a while ago, whilst having to upload a script written by one of the guys we support, in a windows editor, was how to check quickley and easily with cat(1)whether it had silly windows CR/LF’s : cat -ev /path/to/file Would output something like the following if the file had [...]

Categories: General Life, Linux Tags: , ,

sfdisk is quite handy

April 3rd, 2007 Chris Ganderton No comments

So today I had to basically clone a hard disk from a failing disk, to a new disk Sun had sent for one of the v20z’s at work… Haven’t not had to mess about with partition tables and other such things outside of the installer in linux for some time (last time I did this [...]

Categories: Linux Tags: , ,