# slighted edited history file for commands from CS 279, # Week 2, Lecture 2 # (using the history command, and determining the name of the invisible # file holding bash session history, on my mac) 501 history 502 ls -a | grep hist 503 more .bash_history 504 ls -l 505 ls -l .bash_history 506 history # (now back to the history from nrs-labs during this lecture) 1002 mkdir 279lect02-2 1003 cd 279lect02-2 1004 echo "howdy" > file1 1005 ls 1007 ls -l file1 1009 ls -l file1 1010 ls 1011 chmod 610 file1 1012 ls -l 1013 emacs file1 1014 which bash 1015 fg 1016 file1 1017 chmod 000 file1 1018 ls -l 1019 emacs file1 1020 more file1 1021 chmod 644 file1 1022 more file1 1023 chmod 711 file1 1024 ./file1 1025 chmod 661 file1 1026 ls -l file1 1027 chmod o+u file1 1028 ls -l file1 1029 chmod 777 file1 1030 ls -l file1 1031 chmod a-x,u+x file1 1032 ls -l file1 1033 chmod 612 file1 1034 ls -l file1 1035 chmod a=rx file1 1036 ls -l file1 1037 history 1038 history > 279lect02-2-history-after-class.txt