/[cvs]/nfo/bash/aliases.quepasa
ViewVC logotype

Contents of /nfo/bash/aliases.quepasa

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sun Nov 7 02:06:14 2004 UTC (20 years, 1 month ago) by joko
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
+ initial commit

1 # /etc/profile.alias - useful alias settings
2
3 # ----------------------------------------
4 # custom "alias" settings
5 # ----------------------------------------
6
7 # standard
8 alias l='ls -alF --color'
9
10 # tails, easy access to log files
11 alias tf='tail -f $@'
12 alias tm='tail -f /var/log/messages'
13 alias ts='tail -f /var/log/syslog'
14 alias tml='tail -f /var/log/mail.log'
15 alias tkl='tail -f /var/log/kern.log'
16 alias tippl='tail -f /var/log/ippl/all.log'
17 alias ta='tail -f /var/log/amavis.log'
18
19 alias pkgsearch='apt-cache search $@'
20 alias pkginstall='apt-get install $@'
21 alias pkgshow='apt-cache show $@'
22 alias nfoupdate='cd /data/www/virtual/netfrag/sites/public/nfo; cvs -q update -d; cd -'
23
24 # nano with option: "Don't wrap long lines"
25 alias nano='nano --nowrap $@'
26
27 # convenience for users from sorceress.netfrag.org
28 alias pico='nano'
29
30 # updates all rss
31 alias rssupdate='cd /home/service/bin/rss; ./updaterss all; cd -'
32
33 # 2004-11-03, just print sizes in current dir greater than MB
34 alias dum='du -sch * | grep M'
35
36 # 2004-11-04, base64 conversion helpers
37 alias base64encode="perl -MMIME::Base64 -e 'print (defined @ARGV ? encode_base64(join(\"\", @ARGV)) : encode_base64(<STDIN>));'"
38 alias base64decode="perl -MMIME::Base64 -e 'print (defined @ARGV ? decode_base64(join(\"\", @ARGV)) : decode_base64(<STDIN>));'"
39 alias at='apache2ctl configtest'
40 alias ag='apache2ctl graceful'
41 alias ar='/etc/init.d/apache2 restart'
42
43 alias ccopy='echo $@ > $HOME/.clipboard'
44 alias cpaste='cat $HOME/.clipboard'

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed