/[cvs]/nfo/bash/alias.sh
ViewVC logotype

Contents of /nfo/bash/alias.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Tue Oct 12 14:14:27 2004 UTC (20 years, 1 month ago) by rabit
Branch: MAIN
Changes since 1.2: +11 -6 lines
File MIME type: application/x-sh
+ Aliasses: cpuinfo, lsdev, lsdma; M lsio, lspath.

1 #!/bin/sh
2 #---------------------------------------------------------------------
3 #- alias.sh - Useful shell aliasses
4 #- rabit@netfrag.org, 11.10.2004 - 11.10.2004
5 #- $Id: alias.sh,v 1.2 2004/10/12 12:33:23 rabit Exp $
6 #---------------------------------------------------------------------
7
8 # CPU information (very useful!):
9 alias cpuinfo='cat /proc/cpuinfo'
10 alias l='ls -aFhls --color'
11 # List devices:
12 alias lsdev='cat /proc/devices'
13 # List dma:
14 alias lsdma='cat /proc/dma'
15 # List interrupts:
16 alias lsint='cat /proc/interrupts'
17 # List IO memory and ports:
18 alias lsio='echo - IO Memory:; cat /proc/iomem; echo; echo - IO Ports:; cat /proc/ioports | more'
19 # List modules (does exactly the same as /bin/lsmod):
20 alias lsm='cat /proc/modules'
21 # List all dirs in $PATH:
22 alias lspath="ls -CF --color \`echo \$PATH | cut -d ':' --output-delimiter ' ' -f 1,-\` | more"
23 # List PCI enumerator devices:
24 alias lspci='cat /proc/pci'
25 # List used swap:
26 alias lsswap='cat /proc/swaps'
27 alias md='mkdir'
28 # Memory information (very useful!):
29 alias meminfo='cat /proc/meminfo'
30 alias n='nano'
31 # View processes without line wrapping (scrolling with cursor keys):
32 alias pl='ps afux | less -S'

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