How do I perform a command to multiple files? For example, I want to look at all files in a directory and print the ones that do not contain a certain string. How do I go about doing this? (4 Replies)
Hi
Can anyone tell what is the command to get my login name or
I am trying to get the users login name, when he uses my shell script?
Thx
amit (3 Replies)
i create some alias in .cshrc file then i run source .cshrc to refresh it, the alias command work fine but when i relogin again, the alias command is not working... i need to re-run the source .cshrc command so that the alias only workable.
any idea on it? (7 Replies)
Hi All,
zlogin command used to login to the zone
When we use zlogin is it uses the IP based to login to the zone or it uses Solaris internal logic?
Because if it uses IP based suppose if the NIC card is failed due to some reasons then how to Login to the zone.... (4 Replies)
Hi! I need to get PID of some particular process and I wonder if I can use pgrep tool for this purpose. The problem is that pgrep doesn't perform pattern matching on the whole command line, even if I use -f key. Parsing output of ps command is not quite convenient... Also deamon, which PID I need... (2 Replies)
Greetings!
I am trying to perform a passwordless SSH login from a HPUX 11.31 client to a HPUX 11.31 server. Whenever I do a "ssh -l root serverA" from the client, I am prompted for a password. Giving the password, I am able to successfully login. However I am trying to accomplish a... (9 Replies)
Hi
I want to make a ssh login and excute a command in the same step.
I am trying something like
ssh -t -t -Y hostname 'sh myscript'
However I recive
connection to "host" closed
and nothing has happend.
I can succesfully log in to the host and then excute my script if I do it in... (2 Replies)
Hi All,
I need to create a script to monitor a dir for new files with ext .err and also it should b a non empty files. and perform a action or command .
We have a new ETL application that runs on a linux server, every times a etl fails it creates a .err file or updates the existing .err... (4 Replies)
Good Evening all,
After spending the last week or so reading many posts I decided to register and join in. This is my first post on the forum so please forgive me as im new to this, Im after some help in throwing together a quick basic script without using expect to change the password on several... (4 Replies)