SHOW:
|
|
- or go back to the newest paste.
| 1 | ubuntu 16.04 one click | |
| 2 | ||
| 3 | Save as install.sh | |
| 4 | ======================================================================================================================== | |
| 5 | sudo apt-get update | |
| 6 | sudo apt-get install gdebi | |
| 7 | wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| 8 | sudo gdebi google-chrome-stable_current_amd64.deb | |
| 9 | wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
| 10 | echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
| 11 | sudo apt-get update | |
| 12 | sudo apt-get install sublime-text | |
| 13 | sudo apt-get --ignore-missing install -y arj artha atop bmon cabextract cheese chromium-browser codeblocks cups-pdf djview dos2unix file-roller filezilla fort77 g++ gcc gdb gdebi geany gftp gimp git-all gnuplot gparted gummi hardinfo htop imagemagick inkscape ipython kile lyx meld mpack nemo nemo-fileroller okular openssh-client openssh-server p7zip-full p7zip-rar pdfshuffler pdftk pidgin python-matplotlib python-numpy python-scipy python-software-properties python-wxtools rar r-cran-vgam sharutils ssh stardict texlive-full texstudio tree unace unrar unzip uudeview vim vlc xfburn xfig xpdf youtube-dl zip --fix-missing | |
| 14 | ||
| 15 | - | ======================================================================================================================== |
| 15 | + | |
| 16 | ||
| 17 | ||
| 18 | global alias all user alias /etc/bash.bashrc | |
| 19 | ||
| 20 | ||
| 21 | ||
| 22 | alias ....='cd ../../../../' | |
| 23 | alias ...='cd ../../../' | |
| 24 | alias ..='cd ..' | |
| 25 | alias .4='cd ../../../../' | |
| 26 | alias .5='cd ../../../../..' | |
| 27 | alias a='echo "------------Your aliases------------";alias' | |
| 28 | alias c=clear | |
| 29 | alias cd..='cd ..' | |
| 30 | alias cdt='cd /home/u/Dropbox/RamlataThesis' | |
| 31 | alias chr='chmod 644' | |
| 32 | alias chx='chmod 755' | |
| 33 | alias d='python2.7 /usr/local/bin/d.py &' | |
| 34 | alias df="df -Th --total" | |
| 35 | alias e='exit' | |
| 36 | alias egrep='egrep --color=auto' | |
| 37 | alias explore='nautilus .' | |
| 38 | alias fgrep='fgrep --color=auto' | |
| 39 | alias fhere="find . -name " | |
| 40 | alias free="free -mt" | |
| 41 | alias freemem='sync && echo 3 | sudo tee /proc/sys/vm/drop_caches' | |
| 42 | alias g='git' | |
| 43 | alias ga='git add -A ' | |
| 44 | alias gc='git commit ' | |
| 45 | alias gi='grep -Hirn "\\input{"'
| |
| 46 | alias gl='git log ' | |
| 47 | alias go=gnome-open | |
| 48 | alias grep='grep --color=auto' | |
| 49 | alias gs='git status ' | |
| 50 | alias h='history' | |
| 51 | alias historyc='history | cut -c 8-' | |
| 52 | alias hs='history | grep -i $1' | |
| 53 | alias i='sudo apt-get install ' | |
| 54 | alias init0='sudo shutdown –h now' #requires root password, disable it by "sudo chmod u+s /sbin/shutdown" | |
| 55 | alias iy='sudo apt-get install -y' | |
| 56 | alias k='killall chrome firefox thunderbird -q' | |
| 57 | alias l='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' | |
| 58 | alias la='ls -lah --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' | |
| 59 | alias ldir='ls -l | grep ^d' | |
| 60 | alias ll='ls -lh --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' | |
| 61 | alias lla='ll -A' # hidden | |
| 62 | alias lock='gnome-screensaver-command --lock' | |
| 63 | alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' | |
| 64 | alias lsl="ls -lhFA | less" | |
| 65 | alias mkdir="mkdir -pv" | |
| 66 | alias pdfcrop='pdfcrop --margins "2 2 2 2" ' | |
| 67 | alias p='python ' | |
| 68 | alias ps="ps auxf" | |
| 69 | alias psg='ps aux | grep -i $1' | |
| 70 | alias q='exit' | |
| 71 | alias r='sudo reboot' #requires root password, disable it by "sudo chmod u+s /sbin/shutdown" | |
| 72 | alias reboot='sudo reboot' #requires root password, disable it by "sudo chmod u+s /sbin/shutdown" | |
| 73 | alias restart='sudo reboot' #requires root password, disable it by "sudo chmod u+s /sbin/shutdown" | |
| 74 | alias rmf='rm -rf' | |
| 75 | alias rsd='rsync -avz --progress --delete-after --fuzzy -e "ssh"' | |
| 76 | alias s='subl' | |
| 77 | alias sa='source ~/.bashrc;echo "Bash aliases sourced."' | |
| 78 | alias sb='subl ~/.bashrc' | |
| 79 | alias se='apt-cache search ' | |
| 80 | alias search='apt-cache search ' | |
| 81 | alias shutdown='sudo shutdown –h now' #requires root password, disable it by "sudo chmod u+s /sbin/shutdown" | |
| 82 | alias size='find . -maxdepth 1 -type d -print0 | sort -z | xargs --null -I {} du -sh {} | sort -h'
| |
| 83 | alias sl="ls" | |
| 84 | alias so='source ~/.bashrc' | |
| 85 | alias suexplore='sudo nautilus .' | |
| 86 | alias suspend='sudo pm-suspend' | |
| 87 | alias sutext='gksudo gedit &' | |
| 88 | alias svim='sudo vim' | |
| 89 | alias text='subl &' | |
| 90 | alias tgz='tar -zxvf' | |
| 91 | alias top="htop" | |
| 92 | alias topf='find . -type f -print0 | xargs -0 du -h | sort -hr | head -n 100' | |
| 93 | alias try='gnome-open' | |
| 94 | alias unrar='rar e' | |
| 95 | alias u='sudo apt-get update' | |
| 96 | alias update='sudo apt-get update' | |
| 97 | alias wget="wget -c" | |
| 98 | alias x='localc' | |
| 99 | alias z='sudo su' # the space allows for command name expansion. |