HowTo: Linux / Unix Move Directory Up One Level

in Categories last updated April 2, 2012

I would like to move a directory one level up into the root directory. I’ve all html files located in /home/apache2/www/html directory, and I’d like to move /home/apache2/www/html to one level up at /home/apache2/www/. How can I accomplish this over the ssh session?

Linux Disable Wireless Networking ( Wi-Fi )

in Categories , , , , , , , , , last updated July 10, 2009

We have over 20+ Dell Precision M6400 laptops pre installed with Red Hat Enterprise Linux version 5.x. I was asked to disable Wi-Fi on all laptops as it poses a serious security risk to our sensitive (classified) systems and networks. How do I disable wireless networking (802.11) under Linux?

xargs: How To Control and Use Command Line Arguments

in Categories , , , , , , , , , , last updated September 2, 2010

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I’d like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?