LINUX.ORG.RU
ФорумTalks

Покажите свой alias

 


5

0

сабж. мой:

y@y-c ~ $ alias 
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias c='cat'
alias e='emerge'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias g='grep --colour=auto'
alias grep='grep --colour=auto'
alias i='ifconfig'
alias ll='ls -l --color=auto | less'
alias ls='ls --color=auto'
alias m='sudo mtr --curses -i 0.1 -o '\''LSD NABWV'\'''
alias mt='mtr --curses'
alias t='tmux attach -t M'
alias ta='tmux attach -t'
alias tl='tmux list-sessions'
alias um='umount'
alias v='vim'
alias vx='gvim'

★★★★
Ответ на: комментарий от ymuv

alias c='cat'
alias e='emerge'

Я говорю, что лентяй ты.

cipher ★★★★★
()

Так часто запускаем ifconfig и emerge, что нужны алиасы? А почему тогда для route ничего нет?

slapin ★★★★★
()
alias y='yaourt'
alias yu='y -U'
alias ys='y -S'
alias yss='y -Ss'
alias ysu='y -Su'
alias ysy='y -Sy'
alias yr='y -R'
alias yrc='y -Rc'
alias yrd='y -Rd'
alias yqs='y -Qs'
alias yql='y -Ql'
alias yqls='y -Qls'
alias yqi='y -Qi'
alias yg='y -G'
alias ysi='y -Si'
alias ysc='y -Sc'
...
shahid ★★★★★
()
alias ssh='ssh -X -A -t -o StrictHostKeyChecking=no'

и то, подозреваю, всё можно сделать в клиентском конфиге ;)

aol ★★★★★
()

а что это такое

evgeniy@linux-zkgk:~> alias
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..'
alias beep='echo -en "\007"'
alias cd..='cd ..'
alias dir='ls -l'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls='ls $LS_OPTIONS'
alias ls-l='ls -l'
alias md='mkdir -p'
alias o='less'
alias rd='rmdir'
alias rehash='hash -r'
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
zaramoth
()
alias e='emacs -nw'
alias koiterm='LANG=ru_RU.KOI8-R urxvtc -tn xterm'
alias mc='mc -b'
alias mtr='mtr -t'
alias pstree='pstree -AaclpuU | less'
alias t20='tail -n 20'
alias t100='tail -n 50'
alias tf20='tail -f -n 20'
alias tf100='tail -f -n 100'

как-то так =)

Komintern ★★★★★
()

xubuntu 12.04

alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'

rikardoac
()

У меня там только то, что есть в дефолтном profile от моего дистрибутива.

alias ls='/bin/ls $LS_OPTIONS'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
Xenius ★★★★★
()
B='&|'
CA='2>&1 | cat -A'
CU='| iconv -c -f cp1251 -t utf8'
G='| grep'
H='| head'
HL=--help
KU='| iconv -c -f koi8r -t utf8'
L='| less'
LL='2>&1 | less'
M='| most'
NE='2> /dev/null'
NUL='> /dev/null 2>&1'
T='| tail'
UC='| iconv -c -f utf8 -t cp1251'
UK='| iconv -c -f utf8 -t koi8r'
World='paludis -i world --dl-reinstall if-use-changed --dl-upgrade always --continue-on-failure if-satisfied'
cat='grc cat'
ccal='grca cal'
cp='nocorrect cp -iR'
cpaste='ls /tmp/ccopy.* | sed ''s|/tmp/ccopy.||'' | xargs -I % mv /tmp/ccopy.% ./%'
cvs='grca cvs'
delspacecomm='sed ''/ *#/d; /^ *$/d'' '
df='grca df'
diff='grca diff'
dirf='find . -type d | sed -e "s/[^-][^\/]*\//  |/g" -e "s/|\([^ ]\)/|-\1/"'
du='du -h'
egrep='egrep --color=auto'
fgrep='fgrep --color=auto'
fls='fls -rd'
globurl='noglob urlglobber '
gparted='sudo gparted'
grca='grc --colour=auto'
grep='grep -E --color=auto'
halt='sudo halt'
head='grc head'
hexsize=/home/userx/.apps/hexsize
ifconfig='grca ifconfig'
iostat='grca iostat'
l=ls
l.='ls -d .* --color=auto'
la='ls -a'
last='grca last'
ll='grca ls --color=force -l'
lls='ls -l | sed -e ''s/--x/1/g'' -e ''s/-w-/2/g'' -e ''s/-wx/3/g'' -e ''s/r--/4/g''  -e ''s/r-x/5/g'' -e ''s/rw-/6/g'' -e ''s/rwx/7/g'' -e ''s/---/0/g'''
ls='ls -F --color=auto'
lsmod='grca lsmod'
mkdir='nocorrect mkdir'
mkpass='head -c6 /dev/urandom | xxd -ps'
mount='grca mount'
mv='nocorrect mv -i'
ncmpc=ncmpcpp
netstat='grca netstat'
nrg2iso='dd bs=1k if= of= skip=300'
p=pacman-color
ping='grca ping'
pkg_add='sudo pacman-color -S '
pkg_del='sudo pacman-color -Rs '
pkg_files='pacman-color -Ql '
pkg_info='pacman-color -Si '
pkg_search='pacman-color -Ss '
pkg_up='sudo pacman-color -Suy'
ps='grca ps'
psgrep='ps aux | grep $(echo $1 | sed "s/^\(.\)/[\1]/g")'
pstart='sudo pppoe-start'
pstop='sudo pppoe-stop'
reboot='sudo reboot'
rm='nocorrect rm'
rmf='nocorrect rm -f'
rmrf='nocorrect rm -fR'
route='grca route'
run-help=man
screen='screen -DR'
spacman='sudo pacman'
tail='grc tail'
traceroute='grca traceroute'
uname='grca uname'
uptime='grca uptime'
vi=vim
vmstat='grca vmstat'
whereis='grca whereis'
which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
which-command=whence
xp='xprop | grep "WM_WINDOW_ROLE\|WM_CLASS" && echo "WM_CLASS(STRING) = \"NAME\", \"CLASS\""'
y=yaourt
yr='yaourt -Rsn'
ys='yaourt -Ss
joy4eg ★★★★★
()
alias rvm-restart='rvm_reload_flag=1 source '\''/home/d/.rvm/scripts/rvm'\'''
Lorchanin
()
l='ls -la'
now='date +%Y-%m-%d--%H-%M-%S'

Всё остальное от oh-my-zsh.

dismal_faun ★★
()
total@Gentoo ~ $ alias
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias grep='grep --colour=auto'
alias ls='ls --color=auto'

Система молодая пока =]

neocrust ★★★★★
()
Ответ на: комментарий от joy4eg
B='&|'
CA='2>&1 | cat -A'
CU='| iconv -c -f cp1251 -t utf8'
G='| grep'
H='| head'
HL=--help
KU='| iconv -c -f koi8r -t utf8'
L='| less'
LL='2>&1 | less'
M='| most'
NE='2> /dev/null'
NUL='> /dev/null 2>&1'
T='| tail'
UC='| iconv -c -f utf8 -t cp1251'
UK='| iconv -c -f utf8 -t koi8r'

Тоже APL любите?

buddhist ★★★★★
()
Ответ на: комментарий от buddhist

Много вендовых файлов попадает, не более :))

joy4eg ★★★★★
()

alias'ов у меня нет, но есть вот такая милая вещь:

cat /usr/bin/update

if [ "$1" == "--repo" ]
then
    echo "Обновление репозиториев ArchLinux:"
    yaourt -Sy
fi
yaourt -Qua >> /tmp/packag
AMOUNT=$(cat /tmp/packag | wc -l)
AMOUNT_AUR=$(cat /tmp/packag | grep aur/ | wc -l)
if [ "$AMOUNT" != "" ]
then
  CHOICE=$(kdialog --title "Обновления системы" --menu "Сейчас для обновления доступно $AMOUNT пакетов, из которых $AMOUNT_AUR из AUR. Обновить их?" a "Обновить все пакеты." b "Обновить только пакеты из официальных репозиториев." c "Напомнить через пол-часика.")
  if [ $? == 0 ]
  then
      case $CHOICE in
      a) konsole -e yaourt -Sua
      ;;
      b) konsole -e yaourt -Su
      ;;
      c) sleep 1800 && update
      ;;
      esac
  fi
else
  echo "Нет пакетов для обновления."
fi
sudo rm /tmp/packag
которая вызывается время от времени по cron.

KendovNorok
()

C:\>alias
'alias' is not recognized as an internal or external command,
operable program or batch file.

UVV ★★★★★
()

Ты выиграл

alias weather='ftp -o - -V ftp://tgftp.nws.noaa.gov/data/observations/metar/decoded/EDDT.TXT 2>/dev/null'
alias rfc='whois -h whois.rfc.org.uk '

beastie ★★★★★
()
alias 5='mplayer udp://@234.5.2.123:20000'
alias arx='pushd /home/games/Arx\ Fatalis/ ; ./arx -u/home/games/Arx\ Fatalis/; popd'
alias desktop-recording='ffmpeg -f x11grab -s 800x880 -i :0.0+800,20 -r 25 -sameq ./Desktop/mydesktop.mkv'
alias dis-s='mplayer udp://@234.5.2.62:20000'
alias dis-w='mplayer udp://@234.5.2.61:20000'
alias e='emacs -nw -bg "#333"'
alias ec='emacsclient -c'
alias emc='emacsclient -c'
alias killsszb='sudo -u sszb /usr/bin/killall -9 -u sszb '
alias ls='ls --color=auto'
alias mplayer-dvd='mplayer dvd:// -dvd-device '
alias mplayer-dvdnav='mplayer dvdnav:// -dvd-device '
alias mplayer-fast='mplayer -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all filename.mkv'
alias mplayer-hdmi='DISPLAY=:0.1 mplayer -fs -ao alsa:device=hw=1.7 -vo=vdpau -vc=ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, '
alias nano='nano -w'
alias rtorrent='urxvt -title rtorrent -hold -e /bin/bash -c "chmod o+rw \`tty\` && sudo -u rtorrent -H screen -r rtorrentd"'
alias td='todo -A '
alias tdD='todo -D '
alias wa-a='. ~/repos/general/scripts/watch.sh -Mmplayer2 -m "-fs"
              -l "figlet -f clb6x10 -c "
              -n -d /home/video/anime/ 
              -s "season" -S /home/picts/boards/watched/ '
alias wine='LANG=ru_RU.CP1251 sudo -u sszb -H /usr/bin/wine'
alias winecfg='sudo -u sszb -H /usr/bin/winecfg'
alias winetricks='sudo -u sszb -H /usr/bin/winetricks'

А ещё есть вот такие штуки

$ declare -fp | grep iforgot
iforgot () 
iforgot-android-screenshot () 
iforgot-bookmarks-in-manpages () 
iforgot-check-gcc-options () 
iforgot-chroot-procedure () 
iforgot-create-a-new-git-repo-for-me () 
iforgot-draw-me-cool-figlet-fonts () 
iforgot-extended-regex () 
iforgot-extract-xkb-opts-from-gnome () 
iforgot-force-fs-check () 
iforgot-get-xkb-opts () 
iforgot-how-to-trace-and-debug () 
iforgot-htmlize-my-code () 
iforgot-load-all-possible-sensors-modules () 
iforgot-make-a-debug-build () 
iforgot-make-etags-for-emacs () 
iforgot-mount-my-flash-stick () 
iforgot-read-via-x0 () 
iforgot-restart-runlevel-for-me () 
iforgot-select-figlet-font-for-me () 
iforgot-uname-opts () 
iforgot-user-groups () 
iforgot-what-is-that-window-class () 
iforgot-what-to-do-if-something-messed-the-fonts () 
iforgot-where-is-my-completion ()
Сам скрипт для язабыл-функций: http://pastie.org/pastes/7066536/text?key=qmfp6qtq4vxbcolt1jxsg

Deleted
()
alias dosbox='dosbox -conf ~/.dosbox/dosbox.conf'
alias lynx='lynx -term=vt100'
saahriktu ★★★★★
()
alias svi='sudo vim'
alias on='udevil mount'
alias off='udevil umount'
alias apup="sudo bash -c 'aptitude update && aptitude upgrade'"
alias apin="sudo aptitude install"
alias aprm="sudo aptitude purge"
alias apsc="aptitude search"
alias rdp='rdesktop -g 1366x768 -m -z -K -a 32 -x 87 -r disk:HOME=/home/ischerbakov'
alias srv='sudo service'
uuwaan ★★
()
[fx:~] alias 
alias универ='cd ~/Документы/Универ'
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..'
alias avr-compile-to-elf='/home/fx/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc -g -Os -std=c99 -mmcu=atmega128'
alias avr-compile-to-o='/home/fx/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc -g -c -Os -std=c99 -mmcu=atmega128'
alias beep='echo -en "\007"'
alias cd..='cd ..'
alias debian-upgrade='sudo apt-get update && sudo apt-get upgrade'
alias dir='ls -l'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias jless='java -jar /home/fx/Документы/IdeaProjects/jless/target/jless-1.0-SNAPSHOT.jar'
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls='ls --color=auto'
alias ls-l='ls -l'
alias md='mkdir -p'
alias o='less'
alias psql-aw='psql another_wiki'
alias rd='rmdir'
alias rehash='hash -r'
alias start-glassfish-domains='~/glassfish3/bin/asadmin start-domain'
alias stop-glassfish-domains='~/glassfish3/bin/asadmin stop-domain'
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'

О, кстати, debian-upgrade пора бы уже убрать — на сусе не работает. ;-)

f1xmAn ★★★★★
()

Мама!

alias ls='ls --color=tty --show-control-chars'
alias work='ssh -p 2200 xxx.dyndns.org'
alias fswork='sshfs -p 2200 oziris@xxx.dyndns.org: /home/oziris/jet/'
alias fsuwork='fusermount -u /home/oziris/jet/'
alias disk='/sbin/sfdisk -l'
alias mount='sudo pmount'
alias umount='sudo pumount'
alias ip='wget -O - -q icanhazip.com'
alias mutagen='find -iname '*.mp3' -print0 | xargs -0 mid3iconv -eCP1251 --remove-v1'
alias pin='ping google.com'
alias df='df -h'
alias pin='ping google.com'
alias server='ssh -p2200 192.168.0.3'
alias tec='ssh -p 2200 xxxxxx.zapto.org'
alias tomilla='ssh tomilla@192.168.0.2'
alias sakura='sakura -c 127 -r 49 -h -e tmux new-session -d  \; split-window -d \; resize-pane -D 20 \; attach'
alias url='/home/oziris/url.sh'
alias nano='nano -ci someile'
#setfont -v ter-u16n.psf.gz
alias poweroff='sudo /sbin/shutdown -h -P now'
alias tec='ssh -p 2200 xxxx.zapto.org'
alias reboot='sudo /sbin/reboot'
alias chromium='chromium allow-outdated-plugins'

the_green
()
alias cd..='cd ..'
alias grep='grep --colour=auto'
alias ls='ls --color=auto'
alias mc='. /usr/libexec/mc/mc-wrapper.sh'
alias woman='man'
record ★★★★★
()
alias ..='cd ..'
alias ...='cd ../..'
alias f='feh'
alias l='locate -i'
alias ll='ls -l --group-directories-first'
alias la='ls -la --group-directories-first'
alias eus='equery uses'
alias eub='equery b'
alias eud='equery d'
alias euf='equery f'
alias evp='emerge -vp'
alias efvp='emerge -fvp'
alias eum='emerge --autounmask-write'
alias emf='tail -f /var/log/emerge-fetch.log'
alias grepi='grep -i'
alias unmerge='emerge -C'
alias messages='tail -f /var/log/messages'
alias etc='/usr/sbin/etc-update'
alias mkdir='mkdir -p'
alias eixi='eix -I'
alias eixc='eix -c'
alias eixic='eix -Ic'
alias eixicu='eix -Icu'
alias eixir='eix -I -r'
alias premerge="eixicu | sed 's/\[U\] //g;s/\[D\] //g;s/\[UD\] //g;/\"/d;/\;/d;s/(.*$//g;s/\[.*\]//g;/^\s*$/d' | tr -d '\n'"
alias dists='ls -lh /usr/portage/distfiles | grep -i '
alias psax='ps ax | grep '
alias envup='env-update && source /etc/profile'
alias pmask='vim /etc/portage/package.mask'
alias pkeyword='vim /etc/portage/package.keyword'
alias puse='vim /etc/portage/package.use/custom'
science ★★☆
()
Последнее исправление: science (всего исправлений: 2)
alias joe="joe -mouse -linums"
alias remove="nocorrect sudo pacman-color -R"
alias get="nocorrect sudo pacman-color -S"
alias search="nocorrect pacman-color -Ss"
alias list="nocorrect pacman-color -Ql"
alias info="nocorrect pacman-color -Qi"
alias update="sudo pacman-color -Sy"
alias upgrade="sudo pacman-color -Suy"
alias wake="wol 00:15:58:90:74:cc"
alias x="chmod +x"
alias aur="nocorrect yaourt"
Deleted
()
alias vi="vim"
alias mki="make install"
alias mk="make"
alias mkc="make clean"
Gvidon ★★★★
()
Последнее исправление: Gvidon (всего исправлений: 1)

[code]%alias
h (history 25)
j (jobs -l)
la (ls -a)
lf (ls -FA)
ll (ls -lA)
[/code]
default вполне.

takino ★★★★★
()

Домашний сервер:

all-depends     (make all-depends-list)
bld-depends     (make build-depends-list)
check-dbdir     (sudo portmaster --check-port-dbdir -y)
df      (df -h)
freebsd-update  (sudo freebsd-update)
fullps  (sudo ps axwwe)
h       (history 25)
halt    (echo No way!)
j       (jobs -l)
kldload (sudo kldload)
kldunload       (sudo kldunload)
la      (ls -a)
lf      (ls -FA)
ll      (ls -hAl)
nstat   (systat -ifstat)
pkg_add (sudo pkg_add)
pkg_audit       (sudo portaudit -Fda)
pkg_cutleaves   (sudo pkg_cutleaves -x)
pkg_delete      (sudo pkg_delete)
portmaster      (sudo portmaster)
portsnap        (sudo portsnap)
rced    (sudo ee /etc/rc.conf)
reboot  (echo No way!)
rktest  (sudo rkhunter --update --sk --check)
run-depends     (make run-depends-list)
shutdown        (echo No way!)
ts      (du -hs)
updatedb        (sudo /etc/periodic/weekly/310.locate)
uport   (sudo csup -L2 /etc/cvsup/ports-supfile)
usource (sudo csup -L2 /etc/cvsup/standard-supfile)
utf2koi (convmv --notest -f utf-8 -t koi8-r)
utf2koi_test    (convmv -f utf-8 -t koi8-r)

Десктоп/нетбук:

all-depends     (make all-depends-list)
bld-depends     (make build-depends-list)
check-dbdir     (sudo portmaster --check-port-dbdir -y)
df      (df -h)
freebsd-update  (sudo freebsd-update)
h       (history 25)
halt    (sudo halt -p)
j       (jobs -l)
kldload (sudo kldload)
kldunload       (sudo kldunload)
la      (ls -a)
less    (less -R)
lf      (ls -FA)
ll      (ls -lhA)
msdosfs (sudo mount_msdosfs -Lru_RU.KOI8-R -D866 -o large)
pkg_add (sudo pkg_add)
pkg_audit       (sudo portaudit -Fda)
pkg_cutleaves   (sudo pkg_cutleaves -x)
pkg_delete      (sudo pkg_delete)
portmaster      (sudo portmaster)
reboot  (sudo reboot)
rootfs_ro       (sudo mount -r /)
rootfs_rw       (sudo mount -w /)
run-depends     (make run-depends-list)
umount  (sudo umount)
uport   (sudo csup -L2 /etc/cvsup/ports-supfile)
usource (sudo csup -L2 /etc/cvsup/standard-supfile)
utf2koi (convmv --notest -f utf-8 -t koi8-r)
utf2koi_test    (convmv -f utf-8 -t koi8-r)

И там и там - tcsh.

IPR ★★★★★
()
alias cp='rsync --progress -ah'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias mv='rsync --progress -ah --remove-sent-files'
alias note='date >> ~/note && vim ~/note'
Deleted
()
alias alsausers='fuser -fv /dev/snd/* /dev/dsp*'
alias antiflash='killall -9 plugin-container'
Makefile
()

alias явись='emerge --verbose'
alias съявисьненужно='emerge --depclean --verbose'

Mr_Gentoo
()
Ответ на: комментарий от slapin

Так часто запускаем ifconfig и emerge, что нужны алиасы?

Это ещё что. Вот, взгляни на мои (особенно первые две):

alias B='/sbin/shutdown -r now; exit'
alias H='/sbin/shutdown -h now; exit'
alias l='ls --color=tty'
alias la='l -a'
alias ll='l -l'

Реально же использую mc, а если требуется что-то сделать именно из консоли, то получаются такие длинные цепочки, что g против grep особого выигрыша не даст. А ходить по каталогам можно и с помощью l/ll/cd.

pv4 ★★
()
alias .ad='sudo /etc/init.d/apache2 stop'
alias .au='sudo mkdir /var/run/apache_ssl_mutex 2>/dev/null ; sudo /etc/init.d/apache2 start'
alias .fd='sudo /etc/init.d/proftpd stop'
alias .fr='sudo /etc/init.d/proftpd restart'
alias .fu='sudo /etc/init.d/proftpd start'
alias .nd='sudo /etc/init.d/net.eth1 stop'
alias .nr='sudo /etc/init.d/net.eth1 restart; .pr'
alias .nu='sudo /etc/init.d/net.eth1 start; .pr'
alias .pd='sudo /etc/init.d/tor stop ; sudo /etc/init.d/privoxy stop'
alias .pr='sudo /etc/init.d/squid restart'
alias .pu='sudo /etc/init.d/tor start ; sudo /etc/init.d/privoxy start'
alias .sd='sudo /etc/init.d/sshd stop'
alias .sr='sudo /etc/init.d/sshd restart'
alias .su='sudo /etc/init.d/sshd start'
alias .td='sudo /etc/init.d/deluged stop'
alias .tu='sudo /etc/init.d/deluged start'
alias .u1='sudo /usr/local/bin/update1.sh'
alias .u2='sudo /usr/local/bin/update2.sh'
alias .vd='sudo /etc/init.d/svnserve stop'
alias .vu='sudo /etc/init.d/svnserve start'
alias .wd='sudo /etc/init.d/dhcpd stop ; sudo /sbin/ifconfig wlan0 down'
alias .wu='sudo /sbin/ifconfig wlan0 up ; sudo /etc/init.d/dhcpd start'
alias cp='cp --preserve=xattr'
alias grep='grep --colour=auto'
alias iwconfig='sudo /sbin/iwconfig'
alias l='ls -la --color=auto'
alias ls='ls --color=auto'
alias mount='sudo /bin/mount'
alias poweroff='sudo /sbin/poweroff'
alias reboot='sudo /sbin/reboot'
alias shutdown='sudo /sbin/shutdown'
alias umount='sudo /bin/umount'
Kroz ★★★★★
()
cdal='cd ~/.aliases.d'
cddev='cd ~/Devel'
cddwld='cd /home/tmp/'
cdfs='cd ~/.gvfs/'
cdlib='cd /home/library'
cdmd='cd ~/.media'
cdmusic='cd /home/media/music'
cdres='cd ~/Devel/Research'
cdsd='cd ~/.config/systemd/user'
cdshar='cd ~/shared'
cdsoft='cd ~/Software'
cdtmp='cd /tmp/'
e=/usr/bin/vi
emacsconf='emacs -nw -Q --eval="(progn (global-font-lock-mode 1) (require '\''generic-x) (require '\''conf-mode))"'
flog='journalctl -bfa'
gcom='screen /dev/ttyACM2'
hgl='hg log | less'
hwv='cvlc --ffmpeg-hw'
lac='ldapvi -D cn=admin,cn=config -b cn=config'
lad='ldapvi -D cn=admin,dc=pandemonium --discover'
lf='ls --color -lt | grep -- ^- | head -n '
lfd='ls --color -lt | grep ^d | head -n '
log='journalctl -b'
logstates='log CODE_FUNCTION=job_log_status_message'
ls='/bin/ls -lhBFo --file-type --color=auto --group-directories-first'
lsa='/bin/ls -lhFoa --file-type --color=auto --group-directories-first'
lsad='/bin/ls -lhFoa --file-type --color --group-directories-first | grep ^d'
lsaf='/bin/ls -lhFoa --file-type --color=auto --group-directories-first | grep ^-	'
lsd='/bin/ls -lhBFo --file-type --color --group-directories-first | grep ^d'
lsf='/bin/ls -lhBFo --file-type --color --group-directories-first | grep ^-'
mp6='mplayer -ao pulse::ch51 -channels 6 '
rm='rm -i'
rsrv='systemctl --user daemon-reload'
srvr='systemctl --user restart'
srvs='systemctl --user stop'
srvstat='systemctl --user status'
ssrv='systemctl --system'
tj='tar jtf'
tz='tar zcf'
ucom='screen /dev/ttyUSB0 115200'
ud='perl -MURI::Escape -lne "s/\\\\x/%/g;  print uri_unescape(\$_)"'
un64='awk '\''BEGIN{FS=":: ";c="base64 -d"}{if(/\w+:: /) {print $2 |& c; close(c,"to"); c |& getline $2; close(c); printf("%s:: \"%s\"\n", $1, $2); next} print $0 }'\'
vasily_pupkin ★★★★★
()
alias cal='cal -m'
alias talk='ytalk'
#alias ftp='lftp'
alias make='nice -n 19 make'
alias gzip='nice -n 19 gzip'
alias bzip2='nice -n 19 bzip2'
alias tar='nice -n 19 tar'
alias lowpri='nice -n 19 bash'
alias nto='unset TMOUT'
alias ssh='ssh -4'
alias ipt='sudo iptables'
alias iptr='ipt -t raw'
alias iptm='ipt -t mangle'
alias iptn='ipt -t nat'
alias iptl='ipt -n -v -L'
alias iptlr='iptr -n -v -L'
alias iptlm='iptm -n -v -L'
alias iptln='iptn -n -v -L'
alias iptraf='sudo /usr/sbin/iptraf'
alias rtorrent='screen -S rtorrent su -l -c /home/rost2/scripts/rtorrent-wrap.sh rost2'
alias banip='sudo /root/bin/ban_ip.sh'
alias pine=alpine
alias w='w -f'
Rost ★★★★★
()
Последнее исправление: Rost (всего исправлений: 2)
alias bgo='sh /home/megabaks/scripts/portage/bugzilla'
alias bunzip2='lbunzip2 -n4'
alias bzip2='lbzip2 -n4'
alias ccal='grca cal'
alias cvs='grca cvs'
alias df='grca df'
alias diff='grca diff'
alias dists='sh /home/megabaks/scripts/stuff/dists'
alias dkms-gentoo='sh /home/megabaks/scripts/stuff/dkms-gentoo'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias gentoo-fix='sh /home/megabaks/scripts/stuff/gentoo-fix'
alias glibc-downgrader='sh /home/megabaks/scripts/stuff/glibc-downgrader'
alias grca='grc --colour=auto'
alias grep='grep --colour=auto'
alias gunzip='unpigz -p4'
alias gzip='pigz -p4'
alias ifconfig='grca ifconfig'
alias iostat='grca iostat'
alias kernel-cleaner='sh /home/megabaks/scripts/stuff/kernel-cleaner'
alias last='grca last'
alias ll='grca ls --color=force -l'
alias ls='ls --color=auto'
alias lsmod='grca lsmod'
alias make='grca make'
alias man='LC_ALL=ru_RU.UTF-8 man'
alias mc='/usr/bin/mc -b'
alias mcedit='/usr/bin/mcedit -b'
alias mount='grca mount'
alias netstat='grca netstat'
alias ping='grca ping'
alias portconf='sh /home/megabaks/scripts/stuff/portconf'
alias ps='grca ps'
alias route='grca route'
alias stuff='sh /home/megabaks/scripts/stuff/stuff'
alias traceroute='grca traceroute'
alias uname='grca uname'
alias uptime='grca uptime'
alias vmstat='grca vmstat'
alias whereis='grca whereis'
alias why-masked='sh /home/megabaks/scripts/portage/why_masked'
alias bunzip2='lbunzip2 -n4'
alias bzip2='lbzip2 -n4'
alias ccal='grca cal'
alias cvs='grca cvs'
alias df='grca df'
alias diff='grca diff'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias grca='grc --colour=auto'
alias grep='grep --colour=auto'
alias gunzip='unpigz -p4'
alias gzip='pigz -p4'
alias ifconfig='grca ifconfig'
alias iostat='grca iostat'
alias kernel-builder='sh /home/megabaks/scripts/kernel-builder/kernel-builder'
alias last='grca last'
alias ll='grca ls --color=force -l'
alias ls='ls --color=auto'
alias lsmod='grca lsmod'
alias make='grca make'
alias man='LC_ALL=ru_RU.UTF-8 man'
alias mc='/usr/bin/mc -b'
alias mcedit='/usr/bin/mcedit -b'
alias metadata='/home/megabaks/scripts/stuff/metadata'
alias mount='grca mount'
alias netstat='grca netstat'
alias ping='grca ping'
alias ps='grca ps'
alias route='grca route'
alias traceroute='grca traceroute'
alias uname='grca uname'
alias uptime='grca uptime'
alias vmstat='grca vmstat'
alias whereis='grca whereis'
alias why-masked='sh /home/megabaks/scripts/portage/why_masked'
alias world-update='portconf -s && einstall -avuDN --keep-going=y world && smart-live-rebuild -- -avD --keep-going=y; revdep-rebuild -i; pfl; sh /home/megabaks/scripts/portage/prelink-wrapper -qamR; localepurge;dkms-gentoo --db'
megabaks ★★★★
()

alias server='python -m SimpleHTTPServer 8000'

C1nde
()
Ответ на: комментарий от thesame

тебе не хватает alias dog=«cat»

Зарезервировано:

$ eix woman
Совпадений не найдено.

$ eix -e dog
* sys-apps/dog
     Available versions:  1.7-r4
     Homepage:            http://packages.gentoo.org/package/sys-apps/dog
     Description:         Dog is better than cat

man dog:

It is designed as a compatible, but enhanced, replacement of cat(1)."

зимёрджил догу.

record ★★★★★
()
Последнее исправление: record (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.