bash-4.3$ date Mon Feb 20 13:06:59 EST 2017 bash-4.3$ pwd /home/accts/sbs5/cs223/www/current/lectures bash-4.3$ cd code bash-4.3$ ./lp0220 0th 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11st 12nd 13rd 14th 15th 16th 17th 18th 19th 20th bash-4.3$ alias alias la='ls -al' alias ll='ls -l' alias mroe='more' alias p='python3.5' alias rm='rm -i' bash-4.3$ rm *.script rm: cannot remove '*.script': No such file or directory bash-4.3$ ls badDoubler.c lists lp0206.c printArgs examplehash lists2 lp0208.c printArgs.c examplehash2 lists2.c lp0213 random examplehash2.c lists.c lp0213.c random.c examplehash.c lookingAtPointers lp0215 struct exhash lookingAtPointers.c lp0215.c struct2 exhash2 lp0118 lp0215.c~ struct2.c exhash2.c lp0118.c lp0220 struct3 exhash2.c~ lp0120 lp0220.c struct3.c exhash.c lp0120.c mt struct.c getLine lp0123 mygetLine sumRange getLine.c lp0123.c mygetLine.c sumRange.c goodDoubler.c lp0125 myString tolower hi lp0125.c myString.c tolower.c hi.c lp0206 myString.h bash-4.3$ rm lp0220 rm: remove regular file 'lp0220'? n bash-4.3$ which trash /usr/bin/trash bash-4.3$ man trash No manual entry for trash bash-4.3$ trash --help Usage: trash [OPTION]... FILE... Put files in trash Options: --version show program's version number and exit -h, --help show this help message and exit -d, --directory ignored (for GNU rm compatibility) -f, --force ignored (for GNU rm compatibility) -i, --interactive ignored (for GNU rm compatibility) -r, -R, --recursive ignored (for GNU rm compatibility) -v, --verbose explain what is being done To remove a file whose name starts with a `-', for example `-foo', use one of these commands: trash -- -foo trash ./-foo Report bugs to http://code.google.com/p/trash-cli/issues bash-4.3$ pwd /home/accts/sbs5/cs223/www/current/lectures/code bash-4.3$ cd mt bash-4.3$ ls anagram dedup.c lists nthelt.c strstr.c~ anagram.c encode lists.c strstr unique dedup encode.c Makefile strstr.c unique.c bash-4.3$ ./unique boolean array: thisisatest: 0 swift: 1 AaBb .&Zz: 1 bit vector: thisisatest: 0 swift: 1 bash-4.3$ ./anagram team mate team and mate are anagrams bash-4.3$ ./anagram radar mores radar and mores are NOT anagrams bash-4.3$ ./encode 'hello brave new world' Old: hello brave new world. New: hello%20brave%20new%20world bash-4.3$ exit Process shell finished