From 68b823571a4f99527e6dc107bd9c0cfa3a22d310 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Mon, 24 Jul 2023 15:34:02 +0300 Subject: [PATCH] Update '0.virtualbox.md' --- 0.virtualbox.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/0.virtualbox.md b/0.virtualbox.md index 340b078..2380029 100644 --- a/0.virtualbox.md +++ b/0.virtualbox.md @@ -52,4 +52,14 @@ VBoxManage modifyhd slack.vdi --resize 102400 # MB ```sh VBoxManage clonehd --format RAW .vdi .img qemu-img convert -f raw .img -O qcow2 .qcow2 -``` \ No newline at end of file +``` + +## Bash alias + +```sh +alias vm='VBoxManage list vms && echo -e '\n' && VBoxManage list runningvms' +alias vmstart='VBoxManage startvm "Rocky Linux" --type=headless' +alias vmstop='VBoxManage controlvm SlackDB poweroff soft' +``` + +`source ~/.bashrc` \ No newline at end of file