
{"id":5400,"date":"2011-08-11T16:17:24","date_gmt":"2011-08-11T16:17:24","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5400"},"modified":"2011-08-11T16:17:24","modified_gmt":"2011-08-11T16:17:24","slug":"history-shows-command-history","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/08\/11\/history-shows-command-history\/","title":{"rendered":"history &#8211; shows command history"},"content":{"rendered":"<h5><u> A UNIX Command <\/u><\/h5>\n<pre>\n$history\n   11  ls\n   12  vi kernel_start.s\n   13  as kernel_start.s\n   14  ls -l\n   15  sh a.out\n   16  ls\n   17  vi kernel_start.s\n   18  ls\n   19  cd linux\/\n   20  ls\n   21  cd boot\/\n   22  ls\n   23  as boot.s\n   24  cd\n   25  cd linux-2.6\n   26  ls\n   27  cd arch\/\n   28  ls\n   29  cd ..\n   30  find . -name *.s\n   31  find . -name *.S\n   32  find . -name *.S | less\n   33  find . -name *.S | grep oo\n   34  find . -name *.S | grep oo | grep 64\n   35  qcd arch\/x86\/\n   36  cd arch\/x86\/\n   37  ls\n   38  cd boot\/\n   39  ls\n   40  cd compressed\/\n   41  ls\n   42  vi head_64.S\n   43  ls\n   44  cd ..\n   45  ls\n   46  cd ..\n   47  find . -name *.S | grep oo | less\n   48  cd arch\/x86\/\n   49  ls\n   50  cd boot\/\n   51  ls\n   52  cd tools\/\n   53  ls\n   54  cd ...\n   55  ls\n   56  cd ..\n   57  ls\n   58  cd co\n   59  cd compressed\/\n   60  ls\n   61  vi head_64.S\n   62  cd\n   63  cd symmel\/\n   64  cd linux\/\n   65  ls\n   66  cd kernel\/\n   67  ls\n   68  cd ..\n   69  ls\n   70  cd boot\/\n   71  ls\n   72  vi head.s\n   73  vi boot.s\n   74  ls\n   75  cd ..\n   76  ls\n   77  make\n   78  cd \/sbin\/\n   79  cd\n   80  whereis as\n   81  cd \/usr\/bin\/\n   82  ln -s as gas\n   83  sudo ln -s as gas\n   84  gas\n   85  cd\n   86  cd symmel\/\n   87  ls\n   88  cd linux\/\n   89  ls\n   90  make\n   91  ls\n   92  cd boot\/\n   93  ls\n   94  vi boot.s\n   95  ls\n   96  vi head.s\n   97  ls\n   98  grep -r setup *\n   99  cd ..\n  100  ls\n  101  grep -r setup *\n  102  export PS1=$\n  103  grep -r setup *\n  104  ls\n  105  cd boot\/\n  106  ls\n  107  vi head.s\n  108  ls\n  109  ps x\n  110  ls -l\n  111  ls\n  112  cd\n  113  emacs -nw rr\n  114  cv\n  115  cd\n  116  emacs -nw rr\n  117  pwd\n  118  ls\n  119  cat \/proc\/sys\/net\/ipv4\/tcp_retries1\n  120  export PS1=$\n  121  cat \/proc\/sys\/net\/ipv4\/tcp_retries1\n  122  echo 4 &gt; \/proc\/sys\/net\/ipv4\/tcp_retries1\n  123  cd\n  124  cd linux-2.6\n  125  ls\n  126  cd Documentation\/\n  127  s\n  128  ls\n  129  cd net\n  130  cd networking\/\n  131  ls\n  132  vi ip-sysctl.txt\n  133  ls\n  134  cd ..\n  135  ls\n  136  pwd\n  137  cd ..\n  138  cd net\/\n  139  ls\n  140  cd ip4\n  141  cd ipv4\/\n  142  ls\n  143  ls -l\n  144  ls\n  145  cd netfilter\n  146  ls\n  147  cd ..\n  148  ls\n  149  cd ..\n  150  ls\n  151  cd ipv4\/\n  152  ls\n  153  grep -r retries *\n  154  vi tcp_timer.c\n  155  vi sysctl_net_ipv4.c\n  156  vi tcp_timer.c\n  157  ls\n  158  pwd\n  159  ls\n  160  grep -r retries *\n  161  vi tcp_timer.c\n  162  man youtube-dl\n  163  youtube-dl -f 22 http:\/\/www.youtube.com\/watch?v=2nBND6TBY9Q\n  164  cd\n  165  emacs -nw dd\n  166  pwd\n  167  cd symmel\/\n  168  ls\n  169  cd linux\/\n  170  ls\n  171  cd boot\/\n  172  ls\n  173  vi head.s\n  174  cd sy\n  175  cd symmel\/\n  176  ls\n  177  cd linux\/\n  178  ls\n  179  cd boot\/\n  180  ls\n  181  vi boot.s\n  182  vi head.s\n  183  cd\n  184  git clone  git@github.com:ahiliation\/symmel.git\n  185  rm -r symmel\/\n  186  rm -rf symmel\/\n  187  git clone  git@github.com:ahiliation\/symmel.git\n  188  cd symmel\/\n  189  ls\n  190  vi kernel_start.asm\n  191  ls\n  192  ps x\n  193  cd symmel\/\n  194  ls\n  195  ls -l\n  196  cat README\n  197  ls\n  198  rm a.out\n  199  ls\n  200  vi kernel_start.s\n  201  ls\n  202  cd\n  203  git clone\n  204  ls\n  205  cd Downloads\/\n  206  rm *.torrent\n  207  emacs -nw ee\n  208  cd Downloads\/Lab\/\n  209  ls\n  210  ls -l\n  211  file lab1handout\\ \\(1\\)\n  212  tar -xvvzf lab1handout\\ \\(1\\)\n  213  tar -xvvf lab1handout\\ \\(1\\)\n  214  ls\n  215  rm lab1handout\\ \\(1\\)\n  216  ls\n  217  cd lab1\/\n  218  ls\n  219  vi CODING\n  220  ls\n  221  vi grade.sh\n  222  sh grade.sh\n  223  ls\n  224  make\n  225  ls\n  226  cd boot\/\n  227  ls\n  228  vi main.c\n  229  ls\n  230  vi sign.pl\n  231  ls\n  232  man -l main.c\n  233  vi main.c\n  234  ls\n  235  vi boot.S\n  236  ls\n  237  cd ..\n  238  ls\n  239  cd kern\/\n  240  ls\n  241  vi kernel.ld\n  242  ls\n  243  ls -l\n  244  ls\n  245  cd ..\n  246  ls\n  247  \/usr\/lib\/freebsd\/gmake\n  248  ls\n  249  make\n  250  ls\n  251  cd kern\/\n  252  ls\n  253  vi entry.S\n  254  cd\n  255  apt-cache search bochs\n  256  export PS1=$\n  257  apt-cache search bochs\n  258  sudo apt-get install bochs\n  259  ls\n  260  pwd\n  261  bochs\n  262  sql\n  263  mysql\n  264  mysql_client_test\n  265  mysql_client_test --help\n  266  cd\n  267  ls\n  268  ps x\n  269  l s-l\n  270  cd \/\n  271  ls\n  272  cd \/etc\/init.d\/\n  273  ls\n  274  ls -l\n  275  ls\n  276  cat README\n  277  cat README | more\n  278  ls\n  279  cd\n  280  ls\n  281  export PS1=$\n  282  ls\n  283  pwd\n  284  ls\n  285  zslalal\n  286  zzininfo\n  287  zininfo\n  288  zipinfo\n  289  cd LatestBooks\/\n  290  ls\n  291  ls -l\n  292  du -h\n  293  ls\n  294  pwd\n  295  cd ..\n  296  cd Downloads\/\n  297  cd\n  298  ls\n  299  find . -name entry.S\n  300  cd ..\n  301  find . -name entry.S\n  302  pwd\n  303  cd\n  304  cd Downloads\/\n  305  find . -name entry.S\n  306  cd\n  307  cd linux-2.6\n  308  ls\n  309  cd arch\/\n  310  ls\n  311  cd x86\/\n  312  ls\n  313  cd boot\/\n  314  ls\n  315  cd ..\n  316  pws\n  317  ls\n  318  find . -name entry.S\n  319  pwd\n  320  cd ..\n  321  find . -name entry.S\n  322  cd ..\n  323  pwd\n  324  find . -name entry.S\n  325  cd arch\/ia64\/kernel\/\n  326  ls\n  327  vi entry.S\n  328  ls\n  329  pwd\n  330  cd Downloads\/\n  331  cd Lab\/\n  332  cd lab1\/\n  333  ls\n  334  cd kern\/\n  335  ls\n  336  vi entry.S\n  337  ls\n  338  cd ..\n  339  ls\n  340  cd boot\/\n  341  ls\n  342  vi boot.S\n  343  pwd\n  344  ls\n  345  ls -l\n  346  cd Videos\/\n  347  ls\n  348  ls -l\n  349  ls\n  350  mpg123 OruPonnu.MP3\n  351  totem bluray.m4v\n  352  ls\n  353  totem 8WtQ-XQS_do.mp4\n  354  totem clCQw0M7XfY.mp4\n  355  ls\n  356  totem 0ipk3kL_soU.mp4\n  357  cd\n  358  ls\n  359  cd Downloads\/\n  360  cd Lab\/\n  361  ls\n  362  cd lab1\/\n  363  ls\n  364  cd boot\/\n  365  ls\n  366  cd ..\n  367  ls\n  368  cd kern\/\n  369  ls\n  370  vi entry.S\n  371  ls\n  372  cd\n  373  cd symmel\/\n  374  ls\n  375  vi loader.s\n  376  ls\n  377  mkdir loader\n  378  ls\n  379  mv loader.s loader\n  380  ls\n  381  git add loader\/\n  382  git commit loader\/ -m \"loader code from osdev.org\"\n  383  git push -u origin master\n  384  mkdir Docs\n  385  cd Docs\/\n  386  ls\n  387  wget http:\/\/database.sarang.net\/study\/linux\/asm\/linux-asm.txt\n  388  ls\n  389  cd ..\n  390  ls\n  391  git add Docs\/\n  392  git commit Docs\/ -m \"linux assembler tutorial\"\n  393  git push -u origin master\n  394  cd\n  395  emacs -nw www\n  396  man skill\n  397  apt-file find \/usr\/bin\/skill\n  398  man skill\n  399  skill\n  400  export PS1=$\n  401  skill\n  402  skill -l\n  403  ps aux | grep xine\n  404  skill 2844\n  405  ps aux | grep xine\n  406  xine &amp;\n  407  ps aux | grep xine\n  408  skill -t 1\n  409  top\n  410  '\n  411  ls\n  412  less\n  413  ls | less\n  414  page\n  415  top\n  416  ps | grep less\n  417  ps | grep ls\n  418  ps | grep xine\n  419  ps\n  420  ps aux | grep xine\n  421  skill 2742\n  422  ps aux | grep xine\n  423  xine &amp;\n  424  skill\n  425  ps aux | grep xine\n  426  skill\n  427  skill -t pty1\n  428  skill -t pty\n  429  skill -t 1\n  430  ;s\n  431  ls *.mp3\n  432  mpg123 01*A\n  433  mpg123 01*a\n  434  mpg123 01*A.mp3\n  435  mpg123 01*\n  436  mpg123 01*A*\n  437  df -h\n  438  wget ftp:\/\/ftp.freebsd.org\/pub\/FreeBSD\/snapshots\/201011\/FreeBSD-9.0-CURRENT-201011-i386-disc1.iso\n  439  rm FreeBSD-9.0-CURRENT-201011-i386-disc1.iso\n  440  b w s k stack\n  441  bw tcp\/ip stack symmel\n  442  b c a m\n  443  man join-dctrl\n  444  ls\n  445  buffer\n  446  man buffer\n  447  ls\n  448  emacs -nw rr\n  449  ls\n  450  cd Downloads\/\n  451  cd NewTheme\/\n  452  ls\n  453  cd LeanBizTheme\/\n  454  ls\n  455  cd Theme\/\n  456  ls\n  457  scp LeanBiz.zip jeffrin@192.168.0.101:\/home\/jeffrin\n  458  scp LeanBiz.zip jeffrin@192.168.0.102:\/home\/jeffrin\n  459  ls *.png\n  460  pwd\n  461  cd Downloads\/\n  462  cd\n  463  ls\n  464  ls *.png\n  465  mv kirishnadas.jpg krishnadas.jpg\n  466  pwd\n  467  wget http:\/\/www.beautifulwork.org\/symmel\/aboutus.html\n  468  vi aboutus.html\n  469  export PS1=$\n  470  emacs -nw ee\n  471  export PS1=$\n  472  virtuoso-t\n  473  man virtuoso-t\n  474  skill  virtuoso-t\n  475  top\n  476  htop\n  477  vdir\n  478  man vdir\n  479  vdir Downloads\/\n  480  vdir symmel\/\n  481  ls symmel\/\n  482  man vdir\n  483  chrt\n  484  chrt -p 2377\n  485  chrt -i -p 2377\n  486  chrt -i  0 -p 2377\n  487  man chrt\n  488  chrt 0 ls\n  489  chrt  ls\n  490  man chrt\n  491  chrt -p 0 1\n  492  man chrt\n  493  chrt 0 ls\n  494  chrt -p 1\n  495  chrt -p 1 -f\n  496  chrt -p 2733  -f\n  497  chrt -p 2377  -f\n  498  chrt -p 2377\n  499  htop\n  500  man chrt\n  501  ctstat\n  502  man ctstat\n  503  lnstat\n  504  ctstat\n  505  ctstat --help\n  506  ctstat -c 10\n  507  history\n  508  export PS1=$\n  509  history | less\n  510  history\n$\n\n<\/pre>\n<p><\/p>\n<h5><u> UNIX Explanation <\/u><\/h5>\n<pre>\nThe  history command performs  one of  several operations\nrelated  to  recently-executed  commands  recorded  in  a\nhistory list. Each of these recorded commands is referred\nto  as an  ``event''.  When specifying  an  event to  the\nhistory command, the following forms may be used:\n\n[1] A  number: if positive,  it refers to the  event with\nthat number  (all events are numbered starting  at 1). If\nthe number  is negative, it selects an  event relative to\nthe current event (-1 refers to the previous event, -2 to\nthe one  before that, and so  on). Event 0  refers to the\ncurrent  event.\n\n\n[2] A string: selects  the most recent event that matches\nthe string.  An event is  considered to match  the string\neither if the string is  the same as the first characters\nof the event,  or if the string matches  the event in the\nsense of the string match command.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A UNIX Command $history 11 ls 12 vi kernel_start.s 13 as kernel_start.s 14 ls -l 15 sh a.out 16 ls 17 vi kernel_start.s 18 ls 19 cd linux\/ 20 ls 21 cd boot\/ 22 ls 23 as boot.s 24 cd 25 cd linux-2.6 26 ls 27 cd arch\/ 28 ls 29 cd .. 30 find &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/08\/11\/history-shows-command-history\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;history &#8211; shows command history&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5400"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5400"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5400\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}