PHYS 3340 HOMEWORK 1 1) create the command "today" that prints out today's date. send me your command a) do this on the command line. b) do it so it is like a built-in command c) send me this command. 2) play w/ the cal command. a) create a file that contains 2008. send me the file. b) what is special about cal 1752? (look at sep) is this a bug?. (hint: think world history.) c) what does cal -j 2 2010 do? 3) what do the commands du and df do? save this info in separate files file w/o using cut and paste. 4) using just the command line, combine the contents of the 2 files you just created in step3 into a single file. again, do NOT cut and paste. call this file "info.txt" send me the file. 5) execute the command "wc info.txt" (omit the quotation marks.) what do the 3 numbers indicate? 6) what does "head info.txt" do? (omit the quote marks.) now try "head -10 info.txt" what does "tail info.txt" do? and "tail -10 info.txt" 7) execute the command: "sort info.txt > sorted_info.txt" examine sorted_info.txt what do you notice? now execute " sort -r info.txt > other_info.txt" what do you notice? send me sorted_info.txt. 8) now execute "which ls" now execute "which man" observe the output