10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
When using CUPs. Does the file that gets printed live in some temp directory somewhere?
For example, if a user submits a PDF file to be printed, does a cached copy of that PDF file live somewhere on the Server in a temporary directory, at least until its printed?
# lpq -P... (1 Reply)
Discussion started by: mrm5102
2. Shell Programming and Scripting
I am looking for a shell script with the following.
1. It should check whether a particular file exists in a location
echo "xxx.txt File Exists"
echo "File Not Found"
2. If file exists, it should check for the modified date and run a command... (2 Replies)
Discussion started by: karthikeyan_mac
3. Shell Programming and Scripting
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Discussion started by: saikiran_1984
4. Shell Programming and Scripting
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
5. Shell Programming and Scripting
Is there any simple way to get the last modified file in a set of 2 or more directories? This should return one file only (not 1 file per directory)
Thanks for your help (4 Replies)
Discussion started by: m69w
6. UNIX for Dummies Questions & Answers
I have the following script to delete the last modified file in a directory.
if file in $(ls -t /home/KOP/Purge | head -1)
rm -f $file
But I keep getting the error
0653-901 Cannot get file status
Any suggestions or comments as to where I'm getting... (1 Reply)
Discussion started by: kingofprussia
I am currently working on building a GUI to be interfaced with CUPS 1.3.4 package; In my GUI I have a list of printer manufacturers mapped
With various printer models ; and for a particular printer model selected I needed to know how to map that model with an Appropriate ppd file; as I... (0 Replies)
Discussion started by: sc3008
8. UNIX for Dummies Questions & Answers
Made changes to a file using vi editor and saved those changes
now realised that the changes are not required
How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
9. UNIX for Dummies Questions & Answers
Just a simple (yet critical from my perspective) doubt... I would like to know who had edited my file.. when I use
command, I see my ID.. but when I edit using some other ID, I had expected that ID to be shown.. but still
shows my ID only..
So, is there any... (4 Replies)
Discussion started by: mohanprabu
I cannot read the last moment
the file was modified - it returns
"Most recent access" instead:
<th><?FILE *fatr=fopen(iindname.c_str(), "r");
struct stat statbuf;
?> ... (4 Replies)
Discussion started by: szzz