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 :: git move latest commit to new branch 
Shell :: Running Graphical Programs on Windows Subsystem on Linux 
Shell :: terminal keyboard shortcut 
Shell :: first commit github 
Shell :: gitignore command 
Shell :: read -p linux 
Shell :: always asks for ssh-add 
Shell :: how to compare a character to uppercase in bash script 
Shell :: git change commit message for merge 
Shell :: clone github project / checkout a single branch 
Shell :: how to chnage kubectl to k 
Shell :: how to update packages in arch linux 
Shell :: how to install brave browser on manjaro 
Shell :: linux history select command 
Shell :: unigears ltd 
Shell :: how to install wtforms on mac terminal 
Shell :: ubuntu upgrade versionScaricamento delle informazioni del repository non riuscito Controllare la propria connessione a Internet. 
Shell :: install react router 
Php :: tinker color auto | tinker lost color cli | tinker not colorful 
Php :: php curl print status 
Php :: wp get logged in user id 
Php :: smarty assign var 
Php :: php header location 
Php :: php today date 
Php :: wordpress fs_method direct 
Php :: how to show validation error in laravel blade 
Php :: php read file line by line 
Php :: Your requirements could not be resolved to an installable set of packages. 
Php :: php increase number in file by one 
Php :: php convert bytes to mb 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =