Posted On February 5, 2021

Linux Bash Shell Command to Download and Install an App

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Linux Bash Shell Command to Download and Install an App
# Set file path variable
vagrantFile=https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb

# Download and install a Debian based file
fileName="${vagrantFile##*/}"
curl -O $vagrantFile
sudo apt install ./$fileName

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

SENDMAIL Configurations

SMTP relay will also check the source of sender by using ping-back. Thus, the servername…

Some Common Gitlab Commands

To ignore SSL Cert errors: git config --global http.sslVerify "false"   # checkout changed file…

DD for Ubuntu & Windows

DD on Ubuntu admin@laptop:~$ sudo dd if='/home/admin/Downloads/CentOS-7-x86_64-Minimal-1804.iso' of=/dev/sdb [sudo] password for admin: 1855488+0 records in…