Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
UNIX script: *.txt->*yymmddhhmm.txt
Name: Archie Ward Julien Date: November 5, 2002 at 02:39:37 Pacific OS: PC clone CPU/Ram: AMD XP2000 256MB
Comment:
Out of nowhere, I suddenly need to rename a file with the current date and time automatically appended e.g. the script should prompt you for a filename, you type an input filename such as “fred.txt,” the function of the program is to change "fred.txt" to "fred0210311600.txt" if executed at 16:00 on 31/10/02. Also, what would be a nice book, brief if possible, describing Unix scripting?
Summary: hi, I have to write unix script which delete the old files (2 month old), If i do ls -ltr it give me output like -r--r--r-- 1 Amit other 20618415 Aug 20 11:42 build.txt Now I have to compare 'Au...
Summary: Hi there, Is there any professional here help me on this? I'm totally new with UNIX env. Also, I got the first assignment regarding UNIX Script. I don't know where to start... well, the instruction sa...
Summary: my code: #!/bin/sh export PATH=$PATH:/csc4630/scripts grep -v '<' "$1" | grep -v 'Back to' | grep - v 'Chapter' | tr " " "\n" | sort | uniq -c > moby{"$1"}lex end of my code that is my program,...