10 More Discussions You Might Find Interesting
1. Red Hat
our requirement is that we need to create a touch file on 2 4 and 7 th working day of the each month ...
If the days falls on saturday/sunday, the touch file should be created on next working day.
We are currently on Red hat 6.5 (1 Reply)
Discussion started by: tradingspecial
1 Replies
2. UNIX for Dummies Questions & Answers
I have noticed that the following command works
touch subtext_geopdf_to_.x
However this one does not
touch subtext_/geopdf/_to_/.x
How can I create such a file without making it think I supplied a path? (2 Replies)
Discussion started by: kristinu
2 Replies
3. UNIX for Dummies Questions & Answers
I want to create the tarzip file into a destination directory, i am in /var/sftp/home/archive/rquadri directory and i am using below command. However it is creating the file in the /var/sftp/home/archive/rquadri directory itself instead of /tmp, may i please know how do i resolve this.
tar -cvzf... (5 Replies)
Discussion started by: Ariean
5 Replies
4. Shell Programming and Scripting
Hi,
I need to create a trigger file named "start" at 4 pm daily . Once this file is created , another process would be initiated. How do i do it using touch command in unix ?
My script that should have touch command shall be present in a dir /app/user/script while the trigger file should be... (2 Replies)
Discussion started by: samrat dutta
2 Replies
5. Shell Programming and Scripting
needed touch command to create a file in the following format
touch a_yyyymmdd_hhmmss (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
6. UNIX for Dummies Questions & Answers
I am a quite newbie on UNIX SCRIPTING...Please help me solving this two questions...
1st Question;
I want to create one command that will run a script when anyone use that command on that server... I mean, in the prompt if I put my name 'Rony' it will execute a script called 'rony.sh'. How can... (1 Reply)
Discussion started by: Rony-123
1 Replies
7. Shell Programming and Scripting
I am writing a shell script (runs on HP Unix) which copies files from a source directory to another destination daily. The destination directory always have the files with same name as in the source directory. And daily a new file will be created in the source.
cp command works fine if the file... (1 Reply)
Discussion started by: arunkumar_ms
1 Replies
8. UNIX Desktop Questions & Answers
Hi All,
I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands.
ssh xzur0211pap
spaceleft=`df -k /home |tail -1 | awk '{print $5}'`
spaceleft=${spaceleft%\%}
if ]; then
echo "ALERT : HUFS(/home $spaceleft)"
exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies
9. Shell Programming and Scripting
Ok, i've been messing around in debian the past few days, setting up programs like subversion, mysql and logrotate. The purpose of this script is to use subversion to backup the binary logs. It runs in the cron every 2 hours or so (although I can't get my script to run properly atm, which is why... (1 Reply)
Discussion started by: cganly
1 Replies
10. UNIX for Advanced & Expert Users
Dear expert,
what is this command touch -c filename using for?
I find if execute and filename is existed, it update the date to now.
If the filename is not exeisted, it don't create the file..
so what is this command using for?
Thank a lot! (1 Reply)
Discussion started by: zp523444
1 Replies