Introduction to PowerShell for Unix People by Powershell.org - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

3. commands summary

alias (set aliases)

img17.png

More

alias (show aliases)

img18.png

More

apropos

img19.png

More

basename

img20.png

More

cal

No equivalent, but see the script at http://www.vistax64.com/powershell/17834-unix-cal-command.html</a>

cd

img21.png

More

clear

img22.png

More

date

img23.png

More

date -s

img24.png

More

df -k

img25.png

More

dirname

img26.png

More

du

No equivalent, but see the link

echo

img27.png

More

echo -n

img28.png

More

| egrep -i sql

img29.png

More

egrep -i

img30.png

More

egrep

img31.png

More

egrep -v

img32.png

More

env

img33.png

or

get-variable

More

errpt

img34.png

More

export PS1=”$ “

img35.png

More

find

img36.png

More

for (start, stop, step)

img37.png

More

head

img38.png

More

history

img39.png

More

history | egrep -i ls

img40.png

More

hostname

img41.png

More

if-then-else

img42.png

More

if [ -f “$FileName” ]

img43.png

More

kill

img44.png

More

less

img45.png

More

locate

img46.png

More

ls

img47.png

More

ls -a

img48.png

More

ls -ltr

img49.png

More

lsusb

img50.png

More

mailx

img51.png

More

man

img52.png

More

more

img53.png

More

mv

img54.png

More

pg

img55.png

More

ps -ef

img56.png

More

ps -ef | grep oracle

img57.png

More

pwd

img58.png

More

read

img59.png

More

rm

img60.png

More

script

img61.png

More

sleep

img62.png

More

sort

img63.png

More

sort -uniq

img64.png

More

tail

img65.png

More

tail -f

img66.png

More

time

img67.png

More

touch - create an empty file

img68.png

More

touch - update the modified date

img69.png

More

wc -l

img70.png

More

whoami

img71.png

More

whence or type

img72.png

More

unalias

img73.png

More

uname -m

img74.png

More

uptime

img75.png

More

\ (line continuation)

img76.png

More