source:
dass-tools/etc/profile.d/dass-it.sh@
1096
Last change on this file since 1096 was 1090, checked in by , on Sep 6, 2012 at 5:30:07 PM | |
---|---|
File size: 413 bytes |
Line | |
---|---|
1 | # some usefull aliases |
2 | |
3 | alias_set() |
4 | { |
5 | name=$1 |
6 | shift |
7 | alias $name >/dev/null 2>&1 || alias $name="$@" |
8 | } |
9 | |
10 | alias_set l "ls -la" |
11 | alias_set .. "cd .." |
12 | alias_set ... "cd ../.." |
13 | alias_set lsst 'find -type f -printf "%T@ %T+ %P\n" | sort -n' |
14 | alias_set rpm-disturl 'rpm -q --qf "%{DISTURL}\n"' |
15 | alias_set rpm-sortsize 'rpm -qa --qf "%{SIZE} %{NAME}\n" | sort -n' |
16 | alias_set rscp 'rsync -av --progress --compress' |
17 |
Note:
See TracBrowser
for help on using the repository browser.