1 |
rabit |
1.1 |
#!/bin/sh |
2 |
|
|
#--------------------------------------------------------------------- |
3 |
|
|
#- alias.sh - Useful shell aliasses |
4 |
|
|
#- rabit@netfrag.org, 11.10.2004 - 11.10.2004 |
5 |
|
|
#- $Id$ |
6 |
|
|
#--------------------------------------------------------------------- |
7 |
|
|
|
8 |
|
|
# No comment ;) |
9 |
|
|
alias l='ls -aFhls --color' |
10 |
|
|
|
11 |
|
|
# List interrupts: |
12 |
|
|
alias lsint='cat /proc/interrupts' |
13 |
|
|
|
14 |
|
|
# List IO ports and addresses: |
15 |
|
|
alias lsio='cat /proc/ioports' |
16 |
|
|
|
17 |
|
|
# List modules (exactly the same as /bin/lsmod): |
18 |
|
|
alias lsm='cat /proc/modules' |
19 |
|
|
|
20 |
|
|
# List PCI enumerator devices: |
21 |
|
|
alias lspci='cat /proc/pci' |
22 |
|
|
|
23 |
|
|
# List used swap: |
24 |
|
|
alias lsswap='cat /proc/swaps' |
25 |
|
|
|
26 |
|
|
# Memory information (very useful!): |
27 |
|
|
alias meminfo='cat /proc/meminfo' |
28 |
|
|
|
29 |
|
|
# Saves 1 billion key presses a month: |
30 |
|
|
alias n='nano' |
31 |
|
|
|
32 |
|
|
# View processes without line wrapping (scrolling with cursor keys): |
33 |
|
|
alias pl='ps afux | less -S' |