Search Results

Search: Posts Made By: fop4658
Forum: Red Hat 08-30-2017
20,312
Posted By fop4658
hi Jayadeava, Yes, I'm using putty on a...
hi Jayadeava,

Yes, I'm using putty on a windows desktop to connect to red hat server and to run script. Thanks for the info in your comments and now I'm able to launch GUI version of script. May...
Forum: Red Hat 08-16-2017
20,312
Posted By fop4658
I'm not doing any SSH here. I'm trying to run a...
I'm not doing any SSH here. I'm trying to run a script on the local host machine itself. Just opened a putty session , enabled X11 forwarding by setting the X display location as :0.0 and trying to...
Forum: Red Hat 08-13-2017
20,312
Posted By fop4658
Hello, Can anyone help me fixing this...
Hello,

Can anyone help me fixing this problem?
Forum: Red Hat 08-09-2017
20,312
Posted By fop4658
X11 forwarding doesn't work
hi,

I'm trying to run a bash script that starts GUI. Though it says application started when I run this bash script doesn't show up any GUI. Here is what I've tried so far and please let me know...
3,122
Posted By fop4658
Thank you very much guys!! This script is...
Thank you very much guys!!

This script is for temporary purpose, and it fulfills my ends. Just posting the final version of the updated script for reference.

#!/bin/ksh
X=${0##*/}...
3,122
Posted By fop4658
Friends, I was able to get ouput on console...
Friends,

I was able to get ouput on console and log file, however the output in log file is not being updated but re-written. Guess we need to have >> at step to append output to be written in log...
3,122
Posted By fop4658
I have tried first option and throw a syntax...
I have tried first option and throw a syntax error:
./testnew.sh
CAUTION : Files once deleted cannot be restored
Would you like to continue? ("yes" or "no"): yes
./testnew.sh[7]: syntax error at...
3,122
Posted By fop4658
Changes to write output to logfile and console
Friends,

Below is the script which writes output to LOGFILE, however I want the entire log written to LOGFILE and also console.

Please suggest me the changes I need to do here.

#!/bin/ksh...
1,439
Posted By fop4658
hey Don, here are my comments: Are you...
hey Don,

here are my comments:

Are you saying that if there is a line in deletefiles.txt that is abc , that line should be ignored? - Earlier, I wanted my script to test the existence of my...
1,439
Posted By fop4658
hello Don, Sorry for my question not being...
hello Don,

Sorry for my question not being clear. Apologize for the confusion here, as my script requirement changed so we can skip all the questions in your comments.

When I ran the script for...
1,439
Posted By fop4658
Files delete script
Friends, I had written a small script to delete files from deletefiles.txt file. However, I want to add one more piece to script, so as to check if the file(file abc) which was already deleted...
1,329
Posted By fop4658
Script to delete files line by line in .txt document
Friends,

I am in need to delete files from a directory on a regular basis. I want to place all the files to be deleted in delete .txt file and require a script to delete files, line by line from...
Forum: Solaris 09-16-2013
226,369
Posted By fop4658
hey Dragon, I was able to figure out this...
hey Dragon,

I was able to figure out this command which lists out the certificate information. Depending on this can you advise me a "grep" command or any other command which can sort these...
Forum: Solaris 09-16-2013
226,369
Posted By fop4658
Keytool command to check expiration dates of certificates
Friends,

I'm in search of a keytool command which pulls the expiration dates of certificates in keystore. I have around 200 certs in my keystore, so would like to know if we have any...
1,743
Posted By fop4658
Appreciate the quick responses, but these things...
Appreciate the quick responses, but these things wrecking my mind am completely new to unix. So anyone who can provide exact solution to my requirement. It should be like ...

1. taillog.sh is the...
1,743
Posted By fop4658
hi agama, got one more question here, as my...
hi agama,

got one more question here, as my xyz.log file keep changing daily as it has date stamp in filename just like xyz073112.log(as of today). So can we use /a/b/c/taillog.sh in first step in...
1,743
Posted By fop4658
for some reason above statement which mjf sent...
for some reason above statement which mjf sent isn't working, as taillog is not a file, it is a log file. I somehow managed to google and found this one.

tail -f /a/b/c/xyz.log | grep 'process...
1,743
Posted By fop4658
No, not a monitoring thing, I want to put this...
No, not a monitoring thing, I want to put this piece in server script, such that whenever server is restarted, while in restart process, this code should search for "process completed" phrase in...
1,743
Posted By fop4658
Code to search for a phrase and run a command
hi All,

Am newbie to unix and would require your help to complete this task.

Condition:
I have a server start up script and I would like to append the code in such a way that it searches for a...
13,802
Posted By fop4658
I already have a server script in place, I want...
I already have a server script in place, I want to add this to existing script so that "abc" process gets killed when the main scripts executes.
13,802
Posted By fop4658
more detail please
hey Chidori,

thanks for that script, as I told you am newbie to unix, can you put that "abc" process in your example and edit the code. As I dnt find anywhere to put my process name in that code....
13,802
Posted By fop4658
shell script to find a process by name and kill it
hi,

Am a newbie to unix and wasnt able to write script to my requirement.

I need a shell script, which should find a process by name and kill it. For eg: let the process name be "abc". I have...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 08:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy