If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.
After reading “Zsh Prompt Magic” I created the zsh_vcs_info file which you can download. You place it in your home directory and open .zshrc and add the following line:
source /home/user/.zsh_vcs_info
Notice that I added a . (dot) in the filename because I want it to be hidden. Also, notice that “user” in the path above, is the username of the account you use to log into Ubuntu.
A few months ago, I got a new computer in the office. Instead of Windows I decided I wanted to try out Ubuntu.
Read more…
md5sum file.iso > file.iso.md5
In order to turn a CD/DVD into an .iso one can:
sudo umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
In order to turn a folder into an .iso one can:
mkisofs -r -o file.iso /location_of_folder/
Related posts:
My first computer was an Amstrad CPC 6128, my second an Amiga 500 and my third and Amiga 2000. Then and onward, every computer I owned belonged to the PC category operated through Microsoft products: DOS and later Windows.
Read more…
Recent Comments