Let's Make Things Better

How to convert .VHDX to .VDI VirtualBox file

Linux: vboxmanage clonemedium disk /full/path/to/inputdisk/vmdisk.vhdx /full/path/to/outputdisk/vmdisk.vdi –format VDI Windows: c:\ > “C:\Program Files\Oracle\VirtualBox\VBoxManage” clonemedium disk /full/path/to/inputdisk/vmdisk.vhdx /full/path/to/outputdisk/vmdisk.vdi –format VDI

How to Create and Use Alias Command in Linux

List Currently Defined Aliases in Linux $ alias As you can see, executing. $ ll Is equivalent to running: $ ls -alF Creating Temporary Aliases $ alias shortName=”your custom command here” $ alias wr=”cd /var/www/html” Creating Permanent Aliases $ nano ~/.bashrc #My custom aliases alias home=”ssh -i ~/.ssh/mykep.pem tecmint@192.168.0.100” alias ll=”ls -alF” Remove an alias …

Simple Ubuntu install script

#!/bin/sh # update & upgrade # sudo apt-get update sudo apt-get upgrade # add custom sources and PPA’s # sudo sh -c “echo ‘## PPA ###’ >> /etc/apt/sources.list” # ubuntuzilla sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com C1289A29 sudo sh -c “echo ‘deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main #Ubuntuzilla’ >>/etc/apt/sources.list” # vlc sudo add-apt-repository ppa:c-korn/vlc # getdeb wget …