10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Team,
i need to know in linux if someone run the command in linux server
where i can check on server . i need to know the below points
who (user)
when (date and time)
what (command)
regards,
scriptors (1 Reply)
Discussion started by: scriptor
1 Replies
2. Shell Programming and Scripting
Hey
i have problem with cut and print column
problem is i want to execute shell script to run df -h /tmp
if the result ( Use% ) was more than 50% , run rm -rf /tmp/*
any idea how cut the result of df -h /tmp ? (1 Reply)
Discussion started by: nimafire
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have a script, I want to make sure the script should check whether the day is sunday, only then it should run, if it is run other days it should check and exit the script.
Kindly help.
Thanks in Advance !! (41 Replies)
Discussion started by: nanz143
41 Replies
4. Shell Programming and Scripting
Hi,
I've to wait until a file generated and once its generated, source another script in Linux terminal.
Please help me as this is very very urgent.
The code should be something like
if ( -e "/abc/xyz/a.txt )
source aaa.csh
else
sleep
This should be repeated till the if... (4 Replies)
Discussion started by: kumar_eee
4 Replies
5. Shell Programming and Scripting
Hello,
I'm looking for a bash script, that I will run from cron, that executes a php script. After 5 minutes that the php script is executed, the bash script, must check a value in a text file /public_html/check.txt
if check.txt = 0 the script will stop, if check.txt is not = 0 it must... (0 Replies)
Discussion started by: andymc1
0 Replies
6. Shell Programming and Scripting
I have one unix job which can be executed using following commands:
csh
setenv HOME /data/ftpqa/ARTQ/orascripts
sudo -u artq /apps/ralocal/bin/runscript artq ../out/art_neg_item_cost_update.csh
I want to create one more script, which checks whether art_neg_item_cost_update.csh is already... (1 Reply)
Discussion started by: amarpreetka
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you guys please help me with this...
I am on AIX and need to prepare a script which will
1. check for a file named do_backup in the current file system
2. If the file exists i need to run some commands and exit, if the file doesn't exist then sleep for 15 mins and try... (2 Replies)
Discussion started by: family_guy
2 Replies
8. AIX
hi gurus,
i have a question:
when run which javac under a user account I got the following results:
PROD DB Server: /usr/java14/bin/javac
DR DB Server: /usr/java14/bin/javac
DEV DB Server: /usr/java5_64/bin/javac
The .profile in all environments are same.
so how do know who is the... (1 Reply)
Discussion started by: lweegp
1 Replies
9. HP-UX
Dear all
I am new for HP-UX.
I have HP rp2470 running HP-UX 10.x
When i run fsck in a root, the output is as below:
#:root> fsck
fsck: /dev/vg00/rlvol1: mounted file system
continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase... (3 Replies)
Discussion started by: hungevntelecom
3 Replies
10. UNIX for Dummies Questions & Answers
Dear all,
I am writing a shell that check the java application already run. If it is not run before it will run next commands.
ps -ef | grep java
Thank you :) (3 Replies)
Discussion started by: mr_bold
3 Replies