local shell> vi .test

[type 'i' to enter insert mode]

export TESTENV='hello world'

alias hello='echo $TESTENV'

[type the 'esc' key to get out of insert mode]

[type ':wq!' to save and exit]

local shell> source .test

local shell> echo $TESTENV

hello world

local shell> hello

hello world

local shell> env

local shell> echo "${TESTENV}. Nice to meet you"

local shell> unalias hello

local shell> hello

no such command hello

 

local shell> id

local shell> man id

local shell> echo "${TESTENV}. Nice to meet you. I Am "`id -un`

local shell> export ME=`id -un`

local shell> echo $ME

local shell> which perl

local shell> echo $PATH

...

local shell> echo ${PATH}

...

local shell> pico .bashrc

export PATH="${PATH}:."

[ctrl-O, enter to save]

[ctrl-X to exit]

local shell> source .bashrc

local shell> ls

local shell> ls -l

local shell> ls -l | awk ' { print $6 }'

local shell> ls -l | awk ' { print $6 }' | sort -u


Page Information

  • 4 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts