Search Results

Search: Posts Made By: firestar
Forum: AIX 02-28-2012
2,625
Posted By firestar
Display Issues on Common Desktop Enviroment CDE
I configured CDE on AIX server and lauched CDE from desktop using reflection 14.1.

I can lauch xclock with my own id
but when i Su to any other id and try xclock it is giving the follwoing error...
17,649
Posted By firestar
@corona688 I have 38 servers .. how can I...
@corona688

I have 38 servers .. how can I easily set the ssh keys for all the servers for password less logins.. and we have policy that passowds change for every 90 days ... will that effect...
17,649
Posted By firestar
@felipe.vinturin Or can you help in writitng...
@felipe.vinturin

Or can you help in writitng a while loop in the expect script so that the while will read a text file line by line and execute the script once per line.
some thing like this
...
17,649
Posted By firestar
@felipe.vinturin Thank you the reply.. ...
@felipe.vinturin

Thank you the reply..

when i keep the script in a new ans try to execute the expect script is exiting after send "uname -a\" command. I couldn't find why this is happeneing...
17,649
Posted By firestar
Calling a function which uses expect from a shells script
Hi all,

This is the first time i am using expect.

I am trying to call a function with in the shell script. The function will shh to a new server and will pass the password using expect and...
2,281
Posted By firestar
@corona688
The main purposeof my script is i have a screen shot all the directory permission recursively from last month....

one admin screqwd the whole prod by giving chmod 775 * on the root dir with root...
2,281
Posted By firestar
@bartus11
Thanks you.

It worked.. i can print but all i want is to assign it to a variable which helps me to do more processing...

I couldn't assign that value to a variable...
2,281
Posted By firestar
@corona688
here is the log file


-rwxrwxr-x 1 synchadm glbiom 14884864 May 31 2007 d_labs.sas7bdat
-rw-r--r-- 1 xli glprg 223729 Apr 21 2009 10-17-03 Fortamet MHRA 19534-0005-6...
2,281
Posted By firestar
Arrays in perl
Hi all,

I have a log file which has logs. I am reading logs line by line into perl arrays. I want to print all the arrays elements starting from 8(word) to end of the line.

print...
1,514
Posted By firestar
@shamrock
I tried and got the following error

$ls "$test"
/bdm/sdd/compounds/AD4833XT/requests/clin/Watson_20090420/docs/MHRA\ Comments\ \&\ Responses not found

---------- Post updated at 12:36 PM...
1,514
Posted By firestar
Problem with spaces in the path
Hi all,

I have a variable test has the following value assigned.. could you please help on doing cd or ls to the value in the varible ...


$echo $test...
2,068
Posted By firestar
Passing variable to Alias in Hp kshell
Hi all,

I have a series of directories which i open regularly. I want create an alias so that i can pass the direcotry name to alias and then this commands makes Cd to the path i need. COuld you...
1,191
Posted By firestar
Help on search and replace in a file
Hi all,

The operating system is Solaris 10

I have example line here below I need to change the stat1 to stat2 using a shell script. search for space(" ") and replace with "\ "

Stat1 --- ...
2,896
Posted By firestar
@jtollefson
Thank you. It worked.
2,896
Posted By firestar
@ rdcwayx
I tried keeping in /etc/profile
but when i hit env in the shell it is not showing up....
2,896
Posted By firestar
Setting environmental variable for all the users in the box
Hi,

I have Sun solaris x64 box in which i need to set a Environment variable for all the users in the box. This Environment varible is used by the application on the box.

Could any one please...
3,654
Posted By firestar
Find the total size of all directories that are owned by a particular User
Hi All,

I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user.

I will explain in details
i have...
4,499
Posted By firestar
Thank you Guys, I made it run here is...
Thank you Guys,

I made it run

here is the script.

while true
do
CURRHOUR=`date "+%H"`
CURRDATE=`date "+%u"`

if [ $CURRDATE -lt 6 ]; then
if [ $CURRHOUR -eq 10]; then

//...
4,499
Posted By firestar
@tukuyomi
Thank you.
For Sat its 6
and Sun its 7
is dat correct..
4,499
Posted By firestar
@everurs789
Sorry to confuse you....

i dont have access to crontab i need to write in shell scriptt..
4,499
Posted By firestar
Schedule a script to run at 10am from mon to fri
Hi,

I need to write a shell script which will run i background and will execute other script only on Mon to Fri 10 AM but not on Sat and Sun.

I am able to set it to run on every day at 10AM but...
6,281
Posted By firestar
Print the different line from two files in unix
Hi all,

I have a two files ... the first file contain "ls -la " output on directory. second file contains " ls -la " output on the same directory but after removing some files from the...
1,549
Posted By firestar
Crontab scheduling
Hi all,

My OS is Solaris 10. I want to schedule a job which i need to run between morining 6 to eve 6 once for every 2 hours. This is what i did.

0 6-18 * * 1-5 /monitor.sh

It runs for...
1,753
Posted By firestar
@michaelrozar17
Thanks you so much

@jlliagre

thank you so much
1,753
Posted By firestar
@jlliagre
Thank you so much for the quick reply ......

Here the solution which you gave works fine for me.... but i am sorry to cofuse you but my Data has not eaxctly 4 feilds it has ogt 74 feilds and i...
Showing results 1 to 25 of 72

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