What i am trying to do is cd to my directory first. If any of that folder contains "volcano" folder then create the same directory structure in the remote machine "lexus". This is what i am doing.
The code i posted works fine. It creates the appropriate directories as needed in the remote machine.
On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning..
# cfgmgr
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm2 ):
0514-040 Error initializing a device into the kernel.
Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm3 ):
... (1 Reply)
Hello,
First post for Newbie as I am stumped. I need to get certain elements for a specific PID from the ps command. I am attempting to pass the value for the PID I want to retrieve the information for as a variable. When the following is run without using a variable, setting a specific PID,... (3 Replies)
I have a blank hard disk - no partitions, no file system, no label, no nothing - that I need to reuse. In a shell script, how do I get it to where I can write data to it again?
I've looked at the man parted page, but I can't tell which command to run, or which sequence of commands.
Thanks. (2 Replies)
HI,
I have 5 variables var1, var2, var3, var4 and var5
I need to initialize all of them to zero.
Is there a way to do it in a single line
something like this
var1=var2=var3=var4=var5=0.
I am unable to achieve this.
What is going wrong? (2 Replies)
Hi,
I want to Initialize a String with 50 spaces. I can do that by
ex: Var1=" "
But i dont want to do in this way?
Is there any unix command where i can specify no of spaces to a varaible?
like space(50) (1 Reply)
Hi,
I have to use array in shell script to perform a logic. When I use below statements inside a script and execute, it gives me an error:
$ cat test.sh
set -A arr 10 20 30
echo ${arr}
$ sh test.sh
a: -A: bad option(s)
But at the same time I can run above two statements without error... (3 Replies)
hello,
i want to know how to initialize a file to an empty one in korn shell scripting? i'm using a file name and building it during a while loop using >>. The problem occurs when the file is not empty before reaching the while loop. therefore, i want to initialize it before the loop to get... (6 Replies)
DirectFB-0.9.20 is compiled --with-gfxdrivers=all
links-2.1pre15 is compiled with --enable-graphics
there is a problem when I am trying to run Links using DirectFB video driver
may be my DirectFBs config is not right?
video by framebuffer or X works successfully (0 Replies)
Sorry for the newbie question. I'm using OSX BSD by remotely logging in and need to re-initialize the startup sequence but don't want to reboot the machine. How can I do it?
Thanks for any help. (3 Replies)