Search Results

Search: Posts Made By: manid
14,348
Posted By manid
I will only have these processes anywhere between...
I will only have these processes anywhere between 5 - 10 in total. Do i still need to bother about count limit? Forget about limit for now. Is my code a effective one?
14,348
Posted By manid
while read list do nohup ./process.sh...
while read list
do

nohup ./process.sh $list &

process_id=$!

echo "$prcoess_id" >> process_id.lst

done < sample.lst

while read process_id
do
wait $process_id
done <process_id.lst
...
14,348
Posted By manid
Nohup and wait command usage
while read list
do

nohup ./process.sh $list &

process_id=$!

wait $process_id

done < sample.lst

command1..

command2..




//Am calling a shell script within and firing the...
1,060
Posted By manid
I just want to know , is it possible to add...
I just want to know , is it possible to add column to the end of each record with the filename like below?


echo $row | grep -F "setting application" | grep -vF "@msad" | awk -v var="$file"...
1,060
Posted By manid
Need help with filtering records in a file
Hi,

I have following records in a file

more file1.txt
[123] [AGENT] [abc] [cde] [fgh] [asd] [asd] setting applicaction ABC for user [user1@ldap1]
[345] [AGENT] [abc] [cde] [fgh] [asd] [asd]...
7
1,891
Posted By manid
a=5 for i in ${arr[@]} do if[$a>=$i] ...
a=5
for i in ${arr[@]}
do
if[$a>=$i]
then
echo "$i"
fi
done
7
1,891
Posted By manid
Arrays
Am using bash

For eg:
Suppose i have a array

arr=(1 2 3 4 5 6 7 8 9 10 11 12)

suppose i give input 5 to a script and script should able to print values greater than or equal to 5 like...
1,055
Posted By manid
Hi Don, Its not what you are thinking. Am...
Hi Don,

Its not what you are thinking. Am just trying it with shell. I just want to know whether it is possible in shell or not.
My approach is that i will store the UID and PWD as variables in...
1,055
Posted By manid
Yes the pattern is unique. I have to place the...
Yes the pattern is unique. I have to place the values read from file2 into file between those quotes. After update file1 should look like this

sample statements1

<UID = "admin" PWD =...
1,055
Posted By manid
Include strings between a pattern
Hi,

I have two files:

File1:


sample statements1

<UID = " " PWD = " ">

sample statements2


File2:


UID ="admin"
PWD ="password"
2,260
Posted By manid
Deleting old files from a dir
Hi,

I have a folder/dir which have file names as below.

file1.txt
file2.txt
file3.txt
.
.


Such files are added to the folder daily. I have to keep only latest 10 files in the folder...
1,531
Posted By manid
$ cd /work/nfs/nas2 $ ls -l sc_ssp sc_ssp: No...
$ cd /work/nfs/nas2
$ ls -l sc_ssp
sc_ssp: No such file or directory
1,531
Posted By manid
it exists under both the directories. but unable...
it exists under both the directories. but unable to go to the directory sc_ssp

---------- Post updated at 02:48 PM ---------- Previous update was at 02:18 PM ----------

In files permission see...
1,531
Posted By manid
strange problem
hello all,

i am having problem in accessing a directory.I dont think its a permission issue.can anyone help me out. I am using korn sell


code:
$ ls -ltr sc*
lrwxrwxrwx 1 essbase essbase...
Showing results 1 to 14 of 14

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