Tag Archives: Ubuntu

Change your hostname randomly in Ubuntu

The following script worked great: #!/bin/bash #random_computer_name sudo sed -i 1,10d /etc/hostname function randnum{number=$[ ( $RANDOM % 15 ) + 8 ]} randnum function randpass{newhostname=`} randpass (echo ‘0a’; echo $newhostname; echo ‘.’; echo ‘wq’) | sudo ed -s /etc/hostname sudo … Continue reading

Tagged , | Leave a comment

Change your computer’s hostname in Ubuntu

“sudo hostname new_name“ where “new_name” is the new hostname you’ll use

Tagged , | Leave a comment

How to change your network MAC address on Ubuntu

“sudo ifconfig eth0 down” #bring down the network card“sudo ifconfig eth0 inet hw ether xx:xx:xx:xx:xx:xx up” #change the MAC and bring it back up where “eth0” is the network adapter you wish to change its MAC and “xx:xx:xx:xx:xx:xx” is the … Continue reading

Tagged , | 1 Comment

UNetbootin: Burn any ISO or image files to USB Disk on Linux

Go to the following URL: http://unetbootin.sourceforge.net/ and download the file Make the file executable (chmod +x file_name) This step is specific for Ubuntu: If you receive the message “7z not found ….”, open a terminal and run “sudo apt-get install … Continue reading

Tagged , , , | Leave a comment

How To Decrease Resolution of Output Video File in mencoder

In a previous post, I showed how to change an .ogv file to a .avi one which is useful is you’re going to give the video to a windows user. One problem I faced is that my resolution is too … Continue reading

Tagged , | Leave a comment