LevSelector.com New York
home > Unix
Unix - random commands


 
some randomly sdelected  unix commands home - top of the page -

Below are some random commands:

df -k .
du -sk *
du -sk
df -a
df -a .
group
groups
echo $shell
ls -la
ypcat groups | grep procmon
ypcat passwd | grep raki
rlogin pig
uname -a
which pbrun
ls -1
ls -l
rsh mink ls
hostname

cd ~someuser
cp somefile ~
cd
ls

less somefile

niscat passwd | less
ypcat passwd | less
ypcat passwd | more
ypcat passwd | grep lane

telnet someaddress
who am i
mkdir user

ypcat auto_bld
limit
limits
 

grep -i 'amd' *       -i means "ignore case"
 bc
 cal
 cal 2001
 emacs . &
 zcat < file1.tar.gz | tar -tf -
 tail -f file.txt
 find . -type f -print | grep -v '\.cgi$'
 df -k
 du -sk .
 ls -l | sort -n +4
 du -sk .
 du -sk *
 set -o emacs
 export VISUAL=vi
 file .rnd
 strings .rnd
 less
 stty erase
 which xterm
 which cmdtool
 .  .profile
 df -lk
 which set
 env
 set
 which rcs
 ci -l hello
 ci -u hello
 co -l hello
 fg
 pushd
 cd -
 find . -name "*start*" -ls
 find . -mtime -l print | xargs ls -alFd | more
 hostname
 grep -0 tie *
 ls -l
 ls -R
 Mail -v bob@yahoo.com
 /usr/ucb/Mail -v santa@yahoo.com
 mail
 mailq
 test.pl | more
 perldoc Data::Dumper
 ping -s someserver10
 netstat -r
 ifconfig -a
 diff file1 file2
 cd -
 ln -s somefile somelink
 tar xvf *
 rm -rf zts/
 bg
 fg
 list
 make
 make missing
 fc -e "${VISUAL:-${EDITOR:-vi}}"1733
 perl -d file.pl
 db_stat file.rec
 db_stat -m -d file.rec
 db_dump
 db_printlog

autoload='typeset -fu'
command='command '
functions='typeset -f'
history='fc -l'
integer='typeset -i'
local=typeset
nohup='nohup '
r='fc -e -'
stop='kill -STOP'
suspend='kill -STOP $$'
 ============================
find . -name core -ls
cd *s
ping -s 10.10.1.150
perldoc NET::FTP
Mail -v name@dom.com
pod2man CookBookA.pod | nroff -man
pod2man -lax CookBookA.pod | nroff -man | more
lpq -status

h2xs -x -n Counter counter.h
rm -rf Counter/
make
make clean
chmod 711 t.pl
showrev
showrev -p
cpuid
 id
sysid
hostid
man sysinfo
cd .etc.system
metastat
xclock
printtool
which lpr
lynx
lpstat
lpstat -Psy3hp4
lpq
lpr
postprint
cd /usr/lib/lp
cd postscript/
perldoc Dumper | lpr -Psy3hp4
perldoc Dumper | postprint | more
pageview
perldoc Dumper | postprint | lpr
perldoc -u Data::Dumper
perldoc -t Data::Dumper

man pl2pm
 man nypq
 man ntpq
 man find2perl
 xv
 perldoc -u Data::Dumper | pod2html | html2ps | more
 perldoc -u Data::Dumper | pod2html | html2ps | lpr
 man s2p
 man pgs
 perldoc -u Data::Dumper | pod2html | html2ps | pstogif > ~/out.gif
 xv /appl/users/stussman/out.gif
 man dpost
 man postprint
 man postio
 perldoc Dumper | postprint | postio | more
 perldoc Dumper | postprint | lpr -v

man setrlimit
ndd /dev/tcp \? | more

make
make test
make -x install
man make
make -n install
man truss
truss -p 6890
fg
truss -p 8958
truss -w -a -i -p 8958
truss -r -p 8958
truss -rall -p 8958

cd !$
 cd ../Renum/
 ps -elf
 ps -ef -o comm
 ps -elf -o comm -o pid
 ps -o comm -o pid
 ps -elf -o pid -o comm -o args
 ps -elf -o pid -o args
 fc -e "${VISUAL:-${EDITOR:-vi}}" 164
  ps -elf -o pid -o args
 vi proc.pl
 proc.pl | more
 man pfiles
 man -k inode
 man inode
 man device
 man -k device
 man -k device | more
 man device_maps
 man dminfo
 vi  /etc/security/device_maps
 man list_devices
 list_devices
 proc.pl | more
 man -k 85,0
 fc -e "${VISUAL:-${EDITOR:-vi}}" 285
 man -k "85,0"
 man -k "dev:85,0"
 man -k dev:

gunzip -c thu_18_38_42.tar.gz | tar tvf - | more
gunzip -c thu_18_38_42.tar.gz | tar tvf - "*AGNY*"
tail -f  myfile.err
ptree
ps -elf | grep myfile
ptree 26112
pstack 26112
man prun
pldd 26112
man prun
+#pflags 26112
pflags 26112 | more
man ptime
pmap 26112 | more
man ptime
ptime 26112 | more
man proc
man ldd
man pvs
man ldd
man -s 4 proc
man poll
adb core

ps -f -o pid -o args
  ps -e -o pid,vsz,args
 man dump
 man rm
 man nm
 man dump
 man core
 man elf
 man -k heap
 man -k stack
 man strace
 strace -p  26112

 perl -d:DProf proc2.pl
 perl -DL proc2.plenv PERL_DEBUG_MSTATS=2 perl -e "require Carp"
 env PERL_DEBUG_MSTATS=2 perl proc2.pl
 Operl -help
 perl -V:
 perl -V:help
 perl -V
 perl -help
 perl -u proc2.pl

file core
gdb
gdb core
ls -al
gdb proc2.pl
 ls -al
adb
man adb
man ptrace
man adb
man ksyms
ksyms
man ksyms
vi t.pl
t.pl &
gcore 1219
jobs -l
ls -al
fg
mv core.1219 Test
adb -V

man gcore
 man core
 man a.out
 man brk
 strings core
 strings core.1219 | more
 showrev -p
 showrev
 gdb -v
 man awk
 vi /usr/local/lib/perl5/sun4-solaris/5.00404/CORE/sv.h

uptime

vi hypotenuse.c
 vi hypotenuse.h
 double hypotenuse(double x, double y);
 h2xs -n Geometry -A hypotenuse.h
 ls -al
 cd Geometry/
 ls -al
 vi Geometry.xs
 fg
 vi Makefile.PL
 cp ../hypotenuse.* .
 ls -al
 perl Makefile.PL
 vi Makefile.PL
 make
 make Makefile.PL
 make clean
 perl Makefile.PL
 make
 vi Geometry.c
 telnet myserver
 telnet myserver
 ppwd
 ls -al
 vi test.pl
 make test
 vi r2p.c
 vi r2p.h
 ls -al
 cd ..
 ls -al
 cp Geometry/r2p.* .
 ls -al
 h2xs -n Geometry -A r2p.h
 cd Geometry/
 ls -al
 vi Geometry.xs
 perl Makefile.PL
 make
 vi Makefile.PL
 perl Makefile.PL
 make
 ls -al
 vi hypotenuse.c
 ls -al
 vi Geometry.c
 ls -al
 make clean
 ls -al
 vi Geometry.xs
 make clean
 perl Makefile.PL
 make
 ls -al
 vi Geometry.c
 ls -al
 vi Geometry.
 vi Geometry.c
 make test
 vi test.pl
 make test
 vi test.pl