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@” alias ll=”ls -alF” Remove an alias added via the command  $ unalias alias_name $ unalias -a […]

The Linux Programming Interface

Operating System Concepts 9th

Operating System Concepts 9th

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 C1289A29 sudo sh -c “echo ‘deb all main #Ubuntuzilla’ >>/etc/apt/sources.list” # vlc sudo add-apt-repository ppa:c-korn/vlc # getdeb wget -q -O- | sudo apt-key add – sudo sh […]

Public IP Address in Linux

 Using cURL Command to find Public IP Address $ curl $ curl $ curl