

InterviewSolution
1. |
Solve : How to get the COMPLETE last modified DATE and TIME for files OLDER than 6 Month? |
Answer» Hi UNIX GURUs, Thank you Smeezekitty. For some reason the DIR command is not working on my system. I am getting a message "dir: command not found." I am working on SOLARIS Operating System. That's because he gave you a DOS command. It obviously won't work with UNIX. Sit tight and someone that DOES know will be along.some unix systems hvae dir built in Quote from: smeezekitty on August 24, 2009, 11:52:03 AM some unix systems hvae dir built in none that I've ever seen.depends on the shellQuote from: Quantos on August 24, 2009, 11:50:38 AM That's because he gave you a DOS command. It obviously won't work with UNIX.dir comes from GNU coreutils, and yes, it DEFINITELY is a linux command (as well). basically its the same as ls -C -b. check info coreutils 'dir invocation' for more info.you could download the GNU utils or try ls --full-timeadvice to Solaris user: "Download the GNU utils" if u comile from source they should work fineIf you are running Solaris (a kind of Unix) you don't need any "GNU utils"; you just need to write a shell script. I should have thought that an expert like you would have realised that. @salmon, how about showing smeeze how its done then , on Solaris. |
|