Search Results

Search: Posts Made By: topic32428285
2,785
Posted By topic32428285
you simply want to pick 6 random lines and change...
you simply want to pick 6 random lines and change them?

not 6random lines
read everyall lines and there is 1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt 9.txt ~~ 22.txt 23.txt 24.txt 25.txt...
2,785
Posted By topic32428285
source.txt /home/user1/public_html/test3...
source.txt


/home/user1/public_html/test3
/home/user90/public_html/test9
.
.
.
/home/user650/public_html/test000


there are a lot of directories in source.txt --->maybe 1000 home...
2,785
Posted By topic32428285
random select text file ranamed
i want to need script..



source.txt
/home/user1/public_html/test3
/home/user90/public_html/test9
.
.
.
/home/user650/public_html/test000




read source.txt and cd...
1,364
Posted By topic32428285
plz help me
this script reads source.txt and move
and random choice 6 files among 25 txt file
and renmame it..
but it is not executed..
whats problem?

#!/bin/ksh
while read line
do
cd $line/radmin...
1,350
Posted By topic32428285
deleted
deleted
1,350
Posted By topic32428285
script error.. help me
#!/bin/ksh
while read line
do
cd $line/radmin
num=0
for file_nm in *.txt
do

(( check = $RANDOM % 2 ))

if [ $check -eq 0 ]; then
continue
fi

(( num = num +...
5,542
Posted By topic32428285
#!/bin/ksh while read line do cd...
#!/bin/ksh
while read line
do
cd $line/radmin
num=0
/bin/ls *.txt |
while read file_nm ; do

(( check = $RANDOM % 2 ))

if [ $check -eq 0 ]; then
continue
fi

...
5,542
Posted By topic32428285
deleted
deleted
8,123
Posted By topic32428285
deleted
deleted
8,123
Posted By topic32428285
it printed error
it printed error
8,123
Posted By topic32428285
ok.. thank you.. works well.
ok.. thank you..
works well.
8,123
Posted By topic32428285
no these directory is not under user409. each...
no
these directory is not under user409.
each directory's ownership is different.

/home/user409/public_html/test/ ------>ownership:user409
/home/user09876/public_html/xdsss/...
8,123
Posted By topic32428285
How about changing ownership? maybe untar file...
How about changing ownership?
maybe untar file is root..
8,123
Posted By topic32428285
it is 1000 lines ;;
it is 1000 lines ;;
8,123
Posted By topic32428285
cp, chown, untar
hello

i want shell script.

i have a source.txt

/home/user409/public_html/test/
/home/user09876/public_html/xdsss/
/home/user9765/public_html/320xxx/
.
.
.

maybe 1000 lines

i...
5,542
Posted By topic32428285
home directory
hello

i want shell script.

as root , i want to untar specific.tar.gz to all home user directory

and after untar , there is 1.txt 2.txt ~~ 26.txt in/public_html/test1/
i want randomly...
Showing results 1 to 16 of 16

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