Create a Directory Tree CLI
avatar

Using the command below you can create a simple directory tree just by using standard commands:

find . -print | sed -e ‘s;[^/]*/;|____;g;s;____|; |;g’

Posted in Linux | Leave a comment

Copy files between a linux and windows box via rdesktop | fewerwords
avatar

Copy files between a linux and windows box via rdesktop | fewerwords.

Posted in Linux | Leave a comment

Great List of Bash Tips and Tricks
avatar

http://cfenollosa.com/misc/tricks.txt

Posted in Guides, Linux | Leave a comment

Great Linux Cheat Sheet
avatar

More Linux Commands – A practical reference
http://www.pixelbeat.org/docs/linux_commands.html

Posted in Linux | Leave a comment

Redetect Network Cards in CentOS 6
avatar

CentOS 6 keeps all of the information about the networking cards in udev.  To have the system redetect the NIC cards all you need to do is delete the persistent-net.rules file and reboot.  During boot the file will be regenerated with the new information.

rm /etc/udev/rules.d/70-persistent-net.rules

Next you should update the /etc/sysconfig/network-scripts/ifcfg-<adapter> scripts to contain the new MAC addresses and remove the UUID entries that will nto match if the cards changed.

Posted in CentOS, Linux | Leave a comment