About Me

I am a Dutch Linux SysAdmin, recently changed jobs from being a full time freelance press photographer. Here i will describe my struggle for RHCE certification

Links

More RedHat

Search


Checklist

route and virt-manager

Sunday, March 15th, 2009

I basicly work all my testlabs with virt-manager (kvm). To make it possible to ssh direct into my VM i have to add a route to the VM-net. Goes like this:
route add -host 192.168.122.1 dev eth0
route add -net 192.168.122.0 netmask 255.255.255.0 gw 192.168.122.1

command line tools [cp]

Friday, June 20th, 2008

Problem with cp was how to copy all hidden files and hidden directories from a directory without copying the toplevel directory ” ..” . This is achieved by forcing a alphanumeric sign behind the first dot. Like this : cp -a ./.[A-Z,0-9]*

Command line tools [ls]

Sunday, June 15th, 2008

Here I will describe usage of the basic Linux command line tools.
LS ls is off course a very basic tool. It will show you the listing in a directory. “ls -C” will show you the column version output. “ls -A” will show you all but the toplevel dir and cwd dir presented by the “.” [...]