Can you call system commands from a java program? If so, how? For example, I want to write a simple program that tells me the time or date or even untar a file. It just never occured to me of doing that stuff before on Java. My system is linux 2.4.22 using BASH shell.