10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm curious to know how do I add an empty log file (test1.log) to an existing text file to monitor all the changes made to a.txt.
Is this expression
right to be added to the text file a.txt? (5 Replies)
Discussion started by: TestKing
2. Windows & DOS: Issues & Discussions
This may not be the right place, since it is not exactly unix or linux, but it does involve cygwin. I have two cygwin installations. When I start a mintty terminal, I need to toggle a windows path variable to make sure that the correct cygwin dll gets loaded.
I need to add
to the... (3 Replies)
Discussion started by: LMHmedchem
3. Red Hat
Im trying to run script A which requires path /sbin.
I have a crontab entry to run script A every 10 minutes.
Script A is executed fine by cron, but because script A requires /sbin in its path it fails to run.
My situation is script A get overwritten from time to time so I can't modify... (4 Replies)
Discussion started by: wilsonee
4. Shell Programming and Scripting
We are on AIX 6.1 TL6
I am an Admin for a Content Management application that is hosted on an AIX machine and i am supposed to come up with a cronjob that runs every monday at 03:00 am.
The current schedule of that cron job is :
3 * * 1,3,5 /path/of/script.sh
But i do not know... (5 Replies)
Discussion started by: atechcorp
5. UNIX for Dummies Questions & Answers
I am trying to add path for root.
In /etc directory there is no .bash_profile file
it has only profile file
can any one say how to add path for root user ?
is it possible to add path in profile file for root user. (18 Replies)
Discussion started by: elango963
6. UNIX for Dummies Questions & Answers
Ref: "build crontab from a text file" in same forum. (I am not allowed to post URL's in the first post)
We are reorganizing our UNIX Crontab file by first making changes in a word pad text file. The intent is to then copy it back to Crontab. Will this work? Copy and Paste does not... (6 Replies)
Discussion started by: nivedhitha
7. Shell Programming and Scripting
I want to append a path in user's PATH variable which should be available in current session.
Numerous persons will run a utility.
Aim is to add the absolute path of the utility the first time it runs so that next runs have the PATH in env & users can directly run... (6 Replies)
Discussion started by: vibhor_agarwali
8. Shell Programming and Scripting
I have a requirement as below:
I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l).
When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
9. UNIX for Dummies Questions & Answers
Our user crontab files are located at /var/spool/cron/crontabs.
I have to make some modifications to it.
I have all the crontab entries in a file called 'crontab.actual'. I made changes to this file and now I want to reload these changes from the crontab.actual file to my crontab... (12 Replies)
Discussion started by: vandi
10. UNIX for Dummies Questions & Answers
here the problem: I'm not able to specify a PATH inside the crontab file.
The only syntax it accepts is the usual "* * * * * file"
I'm not able to add PATH, or HOME, or MAILTO, or anything else.
when I try to save the crontab, I have the error:
"crontab: error on previous line;... (3 Replies)
Discussion started by: fuliggians