Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to create a shortcut in Ubuntu

# To create a shortcut of foo at bar.
# ln -s <path to foo> <path to bar>
# Example:
ln -s /opt/foo /usr/bin/bar
Comment

shortcut ubuntu linux

LINUX UBUNTU SHORTCUT:
# uninstall someting
sudo apt-get purge php7.* && sudo apt-get autoclean && sudo apt-get autoremove
Comment

ubuntu apt shortcuts

# 1. Explore readme at https://gist.github.com/juliyvchirkov/7ee6591b9744c36fa9ab73a1ca2ef544
# 2. Paste this commands sequence to your console
# 3. Execute
# 4. All done. Save your time typing 'apt i' / 'apt lu' instead of 'sudo apt
#    install' / 'sudo apt list --upgradable' etc. Feel free to add your own 
#    and modify the existing shortcuts. Enjoy!

pushd /usr/bin >/dev/null &&
sudo wget -q https://gist.githubusercontent.com/juliyvchirkov/7ee6591b9744c36fa9ab73a1ca2ef544/raw/apt.sh &&
sudo chmod 755 apt.sh &&
alias apt='/usr/bin/apt.sh' &&
printf "
alias apt='/usr/bin/apt.sh'
" >>~/.bashrc &&
popd >/dev/null
Comment

PREVIOUS NEXT
Code Example
Shell :: homebrew 
Shell :: bind mount on linux 
Shell :: how to install raspap 
Shell :: How to createe git remote branch 
Shell :: shell substring last characters 
Shell :: logitech g hub not installing windows 10 
Shell :: how to scp from vm to local 
Shell :: docker run commands 
Shell :: tar uncompress tgz 
Shell :: basic git commands 
Shell :: git create branch without initial commit 
Shell :: set alias for directory in powershell 
Shell :: basename bash 
Shell :: deno install windows 
Shell :: how to remove one file from git history 
Shell :: what is sudo in linux 
Shell :: git recurse submodules 
Shell :: delete github repository git bash 
Shell :: bash script template linux 
Shell :: git https basic access denied 
Shell :: powershell set environment variable and run command 
Shell :: virtualbox boot from usb 
Shell :: mac shell echo command 
Shell :: nvm github 
Shell :: mac ssh download folder 
Shell :: add environment variable linux 
Shell :: update centos kernel version yum 
Shell :: docker 
Shell :: git merging to branch from branch 
Shell :: free image upload server 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =