Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- cat /etc/motd
- command cowsay -f tux $(fortune all)
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- alias ls='ls --color=auto'
- PS1="$sq_color\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[01;36m\]\342\234\227$sq_color]\342\224\200\")[\[\033[01;31m\]\t$sq_color]\342\224\200[\[\033[01;36m\]\u@\h$sq_color]\n\342\224\224\342\224\200\342\224\200> \[\033[01;35m\]\W$sq_color $ \[\033[01;32m\]>>\\[\\033[0m\\] "
- #PS1='[\u@\h \W]\$ '
- #PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;31m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;36m\] '
- #PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[1;36m\] '
- if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
- . startx
- logout
- fi
- #shell profile file
- setxkbmap -layout gb
- # alias
- alias pacsyy="sudo pacman -Syy" #update mirrors
- alias pacsu="sudo pacman -Su" #upgrade all packages
- alias pacinfo="sudo pacman -Si" #show information about a package
- alias pacsyu="pacman -Syu" #upgrade all packages to latest version
- alias pacinst="sudo pacman -S" #install package/s
- alias paclist="sudo pacman -Ql" #list all files installed by package
- alias paclistll="pacman -Qqm" #list all packages locally installed
- alias pacr="sudo pacman -R" #uninstall one or more package/s
- alias pacrns="sudo pacman -Rns" #uninstall package and deps
- alias pacorph="sudo pacman -Qdt" #list all packages which are orphaned
- alias pacown="pacman -Qo" #determine which package owns a given file
- alias pacsearch="sudo pacman -Ss" #search for a package (not AUR)
- alias pacachec="pacman -Sc" #delete all package files from cache
- alias ysearch="yaourt -Ss" #search for a package AUR
- alias yinstall="yaourt -S" #yaourt install package
- alias reboot="systemctl reboot"
- alias poweroff="systemctl poweroff"
- alias shutdown="systemctl poweroff"
- alias supy="supybot Neo.conf"
- alias wee="weechat-curses"
- alias ncm="ncmpcpp"
- alias news="newsbeuter"
- alias twit="pieppiep"
- alias twitr="pieppiep fetch 20"
- alias unetbootin="sudo unetbootin"
- alias gparted="sudo gparted"
- alias netlisten='lsof -i -P | grep LISTEN'
- alias nstat="netstat -p TCP -eWc"
- alias dmesg="dmesg"
- alias pizza="sleep 10m && echo ⚠⚠⚠ pizza is done ⚠⚠⚠ "
- alias userlist='cat /etc/passwd |grep "/bin/bash" |grep "[5-9][0-9][0-9]" |cut -d: -f1'
- alias age="sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'"
- alias teamviewerstart="sudo systemctl start teamviewerd"
- alias youtube="youtube-viewer"
- alias youtubedl="youtube-viewer -d"
- alias subs="youtube-viewer -S"
- alias sshon="sudo systemctl start sshd.service"
- alias sshoff="sudo systemctl stop sshd.service"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement