10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Guys ,
I am trying to run below in one of my script but unable to get it succeed .
Can anyone help me on this?
I am using HP-UX.
if
then
write_log " Both files are present . Mail will be send to respective teams."
EMAIL_SUBJECT="MGCA - File Extraction Process COMPLETED"... (12 Replies)
Discussion started by: himanshu sood
12 Replies
2. Shell Programming and Scripting
Hi,
i am using fgrep command with following syntax
fgrep -v -f pattern_file_name file
file contains few line and have the pattern which i am giving in pattern file.
My Problem is :
its is not giving any output.
while i am using fgrep -f pattern_file_name file
it is showing all... (4 Replies)
Discussion started by: emresearch
4 Replies
3. Shell Programming and Scripting
Hi,
I am using mailx command in shell script. When i put -c option for CC , i get error message as "Unknown flag: -c" . I checked manual of mailx command and found that ~c to be used but after using ~c also it is not working. My shell is Korn. Kindly let me know what i have to do .
Thanks (9 Replies)
Discussion started by: krishna_gnv
9 Replies
4. IP Networking
Hi gurus of unix, I haved installed my openSolaris in a HP530,
Recently I use the following command
beadm destry opensolaris1
beadm destry opensolaris2
After That I reboot my Laptop.
Well when I go to my work I try to open my wireshark tool, but the option in GUI interface does not appear!!!... (2 Replies)
Discussion started by: andresguillen
2 Replies
5. UNIX for Advanced & Expert Users
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Discussion started by: BRH
2 Replies
6. Shell Programming and Scripting
Hi,
I have a dout in -u option in ls command. If we give ls -lt command it will dispaly the last modfied time. If we give ls -lu command it will display the last usage time of the file.
My doubt here is Please refer the below commands.
/appldata/rsc/dm/RejectData$ls -lt... (6 Replies)
Discussion started by: puni
6 Replies
7. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have problems with the cc option in mailx command. Just went through some of the similar threads but none provides a satisfactory explanation.
I have a script using the mailx command in the following way:
(echo `cat mailsub.txt` ; uuencode attachment.csv attachment.csv) | mailx -s... (2 Replies)
Discussion started by: SmithaN
2 Replies
9. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
10. Cybersecurity
Hi,
I have an cron-script running ssh every 5 minutes. After a reboot cron errors as ssh is wating for a DSA key fingerprint authenticy.
The request looks as following :
The authenticity of host '*** (*.*.*.0)' can't be established.
DSA key fingerprint is... (1 Reply)
Discussion started by: davidg
1 Replies