Open main menu

CDOT Wiki β

Changes

Talk:Fall 2008 SPR720 Sample Exam Questions

296 bytes added, 01:01, 11 December 2008
no edit summary
18. What will this command do to the existing file "ocean"? date >ocean
=== 18 Answer ===
Nes: It will redirect standard output of command "date" to the file "ocean". The file "ocean" iwll be replaced.
19. What will this command do to the existing file "sea"? date >>sea
=== 19 Answer ===
Nes: It will redirect standard output of command "date" and append to the file "sea". The newer output will be writen at the end of the file "sea".
20. What will this command do if the file "lake" does not exist? date >lake