source: dass-tools/etc/profile.d/dass-it.sh@ 1092

Last change on this file since 1092 was 1090, checked in by joergs, on Sep 6, 2012 at 5:30:07 PM

rpm-sortsize

File size: 413 bytes
Line 
1# some usefull aliases
2
3alias_set()
4{
5 name=$1
6 shift
7 alias $name >/dev/null 2>&1 || alias $name="$@"
8}
9
10alias_set l "ls -la"
11alias_set .. "cd .."
12alias_set ... "cd ../.."
13alias_set lsst 'find -type f -printf "%T@ %T+ %P\n" | sort -n'
14alias_set rpm-disturl 'rpm -q --qf "%{DISTURL}\n"'
15alias_set rpm-sortsize 'rpm -qa --qf "%{SIZE} %{NAME}\n" | sort -n'
16alias_set rscp 'rsync -av --progress --compress'
17
Note: See TracBrowser for help on using the repository browser.