Search Results

Search: Posts Made By: ajaya
12,103
Posted By ajaya
more clearly I am trying to like this for...
more clearly I am trying to like this


for i in ` ls -ld */ |awk '{print $9}'| awk -F \/ '{print $1}'` ;
do

awk $i~/^DQA/ ' {
log for processing goes here

}'
done

when i find...
12,103
Posted By ajaya
firt I have to find the directory in a directory ...
firt I have to find the directory in a directory

ls -ld */ will do it

once I find it is directory, I have to check the first 3 character of the directory

drwxr-xr-x 2 mqm mqm ...
12,103
Posted By ajaya
parsing output from ls command
I have to test the directory name which is obtained from

for dir in `ls -l|grep $9 '
i need to check whether it is directory ( [ -d dir ]

if yes, I have to check the first 3 character fo the...
2,329
Posted By ajaya
please help to parse the line
cp4 0 0 170.217.86.10.1421 170.217.86.8.53308 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62948 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 ...
2,080
Posted By ajaya
please help to parse the line
cp4 0 0 170.217.86.10.1421 170.217.86.8.53308 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62948 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 ...
8,645
Posted By ajaya
writing script to clean up a directory
I have to do a directory clean up on several machines. The task is as follows:
go to a particular directory (cd /xxx)
1. create a directory ' SCRIPTCLEANUP ' ( i KNOW IT)

loop through
2. List...
1,454
Posted By ajaya
help needed to write script
I have to do a directory clean up on several machines. The task is as follows:

1. create a directory ' SCRIPTCLEANUP ' ( i KNOW IT)
2. list the directory

3. if directory and start with 'DQA'...
1,840
Posted By ajaya
Sorry I missed what I wanted to do I Like to...
Sorry I missed what I wanted to do
I Like to rename as

leave the portion before the _ and only change after _

like aaaa_zzzz.sh
tttt_zzzz.sh

etc

thanks
1,840
Posted By ajaya
renaming part of a file
I have file like this


xxxx_yyyy.sh
tttt_yyyy.sh
aaaa_yyyy.sh

how can I do that ?

please help me

thanks
2,165
Posted By ajaya
replacing text
hey
how can i change part of a file

i hve to do in a masses so mv or cp is not practical.
I have to change xxx_rrr to xxx_yyy

pls help

thank
2,233
Posted By ajaya
renaming part of a file
how I can change content ( know it) and part of a file name based on a pattern.

i have a file xxx_yyy

I also have to change inside contect frm xxx to yyy. I can do that with sed but how i can...
11,461
Posted By ajaya
this does not work. the following is the...
this does not work. the following is the problem.

vi test
"/var/tmp/Ex74996" No space left on device
11,461
Posted By ajaya
I am operating in AIX. Does tnis work in AIX.
I am operating in AIX. Does tnis work in AIX.
11,461
Posted By ajaya
howto change parameter in vi to take tmp file
i have a problem running vi. there is no space in /var where it creates tmp file. How can I change this parameter so that it takes from other directory.

thanks
10,116
Posted By ajaya
change character case
i need to change character case inside a script file. How i can do that?

any fucntion?

thanks
14,703
Posted By ajaya
how to get input from file
I have a script which takes 4 input. Can I put these intput into file and read from there

I tried like that

scripts <input.txt

but did not work

any help
6,442
Posted By ajaya
Testing existence of a file /directory
hey guys
How can i test existence of a file /directory in a directory in a script

thanks
2,720
Posted By ajaya
Thank you but I still did not understand how it...
Thank you but I still did not understand how it takes up all files in the scripts directory. I will run this script in a directory where there are scripts files and I want to generate one single...
2,720
Posted By ajaya
my need is to do what with many scripits files....
my need is to do what with many scripits files. NOt only one. The script need to pick up a file, write that, go and pick up another etc.

Also, can I give a file as an input?

thanks
2,720
Posted By ajaya
script to write script
i have scripts files to create mq objects. When I have to do that in another machine, I have to copy all of them and change a few parameters from some of the files. I think, if I create a script...
2,792
Posted By ajaya
Where can i change the shell? Does it make any...
Where can i change the shell? Does it make any difference? Would our scripts file ( khs) have problem to run?

thanks
2,974
Posted By ajaya
physical and logical disc, mount etc
say i have a hard disc and like to install unix. I made two partition. plese explain what happens then

how devices are created like /dev/hd2
/dev/hd9
etc
how /usr/mqm is created. does the...
2,792
Posted By ajaya
setting command history
Hi all

is there anyway to setup AIX to get previous command like in dos with up and down arrow


thanks
2,846
Posted By ajaya
My system is AIX. Let sat, the CDROM is in...
My system is AIX.

Let sat, the CDROM is in my local computer where I work. How can I get software in the CD installed in a remote server ?

thanks
2,587
Posted By ajaya
my question is without logging into that server....
my question is without logging into that server. Can not I issues a command from other server?
Showing results 1 to 25 of 28

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