10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear community,
I am trying for several hours now to create an egrep command to grep the number of lines containing a specific text from a text-file but seem to have an error somewhere.
The Textfile contains several thousand lines and has the expression "Lastname" in several lines.... (3 Replies)
Discussion started by: Donzo
3 Replies
2. Solaris
Hi,
Am trying to send mail from solaris host to my mailbox, but while executing mailx command am getting the follow error.Is this syntax corect?
#mailx -s "subject" <myid>
The flags you gave are used only when sending mail. (1 Reply)
Discussion started by: rogerben
1 Replies
3. Solaris
Hi,
Can anyone explain me what is RSS time in the prstat output.
In the below example 93M is total process size(correct me if am wrong ) what abt 58M?
1693 root 93M 58M cpu1 0 10 4:11:02 0.8% java/35 (2 Replies)
Discussion started by: rogerben
2 Replies
4. Solaris
Am new to solaris can anyone explain the fields in the below command. Also let me know the difference between nodename and hostname. Here osnask2 is the hostname and type SUNOS. What abt the remaining fields.?
#uname -a
SunOS osnska2 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-480R (1 Reply)
Discussion started by: rogerben
1 Replies
5. Shell Programming and Scripting
Hi,
I want to retrieve files from an sftp site and place it a directory in unix server.
When I try to connect, it is asking password even if i hardcode it in the script.I want to automate the script. Could anyone tell me how to avoid password prompt.
#!/bin/sh
# sample automatic ftp script... (3 Replies)
Discussion started by: vidhya_vec
3 Replies
6. Shell Programming and Scripting
Hi ,
Can we run shell scripts by calling them through a GUI , so that even a New comer can run them by just clicking on them . We have around 100 Scheduled scripts and we have cornered on some 20 scripts that should be called through a GUI .
How can this be achieved ?
Thanks in... (2 Replies)
Discussion started by: shyam.appalla
2 Replies
7. Shell Programming and Scripting
Hi all,
I am not sure whether this is the right place to ask this question...:)
I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another.
When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies
8. Shell Programming and Scripting
I am using the mailx command of Unix through which I am able send mails but the problem is the from mail ID is automatically buit by unix as the (UNIX Box Name:---------------------------------) to mask the from id the option used by mailx is -r but for some security reasons this is blocked by the... (1 Reply)
Discussion started by: naren_chella
1 Replies
9. UNIX for Dummies Questions & Answers
Hi frnds,
i need ur help reg getdents command which is used to read the directory entries. I need to know the exact usage of the command and any sample code reg the usage of getdents command
-------------
deep :confused: (1 Reply)
Discussion started by: deep
1 Replies
10. Shell Programming and Scripting
I want to find out Row which starts with, the user specified details to a script.
In general I know what command to be given.
awk '$0~/^Vi/' BReject
But I need to pass on $1 param of command line at the place of 'Vi'.
I tried with -v subst=$1
awk -v subst=$1 '$0~/^subst/' BReject
But it... (5 Replies)
Discussion started by: videsh77
5 Replies