commandline session $echo $SHELL /bin/bash $ksh $echo $SHELL /bin/bash $echo $shell $csh % echo $SHELL /bin/bash % exit % exit $exit $ksh $ps PID TTY TIME CMD 3523 pts/1 00:00:00 bash 3573 pts/1 00:00:00 ksh 3574 pts/1 00:00:00 ps $csh % ps PID TTY TIME CMD 3523 pts/1 00:00:00 bash 3573 pts/1 00:00:00 ksh 3575 …
Daily Archives: April 7, 2012
df and free
commandline session $df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 234611560 217250928 5443016 98% / udev 991480 0 991480 0% /dev tmpfs 199568 604 198964 1% /run /dev/disk/by-uuid/26cca090-8a72-4443-859f-7a67b7188357 234611560 217250928 5443016 98% / tmpfs 5120 0 5120 0% /run/lock tmpfs 399132 72 399060 1% /tmp tmpfs 399132 700 398432 1% /run/shm $df -h Filesystem …
date and cal
commandline session $date Sat Apr 7 19:34:47 IST 2012 $date -R Sat, 07 Apr 2012 19:34:51 +0530 $date -u Sat Apr 7 14:05:05 UTC 2012 $cal April 2012 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 …
arch and uname
commandline session $arch i686 $uname -m i686 $arch –help Usage: arch [OPTION]… Print machine architecture. –help display this help and exit –version output version information and exit Report arch bugs to bug-coreutils@gnu.org GNU coreutils home page: General help using GNU software: For complete documentation, run: info coreutils ‘arch invocation’ $