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

Contents of /nfo/bash/alias.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Oct 12 12:33:23 2004 UTC (19 years, 6 months ago) by rabit
Branch: MAIN
Changes since 1.1: +4 -10 lines
File MIME type: application/x-sh
+ Aliasses: lspath, md.

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.1 2004/10/11 11:22:51 rabit Exp $
6 #---------------------------------------------------------------------
7
8 alias l='ls -aFhls --color'
9 # List interrupts:
10 alias lsint='cat /proc/interrupts'
11 # List IO ports and addresses:
12 alias lsio='cat /proc/ioports'
13 # List modules (exactly the same as /bin/lsmod):
14 alias lsm='cat /proc/modules'
15 # List all dirs in $PATH:
16 alias lspath="ls -F --color \`echo \$PATH | cut -d ':' --output-delimiter ' ' -f 1,-\`"
17 # List PCI enumerator devices:
18 alias lspci='cat /proc/pci'
19 # List used swap:
20 alias lsswap='cat /proc/swaps'
21 alias md='mkdir'
22 # Memory information (very useful!):
23 alias meminfo='cat /proc/meminfo'
24 # Saves 1 billion key presses a month:
25 alias n='nano'
26 # View processes without line wrapping (scrolling with cursor keys):
27 alias pl='ps afux | less -S'

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