Search Results

Search: Posts Made By: pradeepreddy
3,348
Posted By pradeepreddy
samba with public access
Hello friends ..

I have configured "smb" in debian machine . Created a share named "share_one" with public access and started samba service .

I am able to access the share "share_one"...
6,386
Posted By pradeepreddy
arp -a | awk '{print $2}' | grep...
arp -a | awk '{print $2}' | grep "192.168.0.[1-2]$"

check this out
13,740
Posted By pradeepreddy
what is the contents of file iom_test.txt
what is the contents of file iom_test.txt
38,933
Posted By pradeepreddy
try this out cat filename | sed 's/Oa/\n/'
try this out
cat filename | sed 's/Oa/\n/'
1,458
Posted By pradeepreddy
hello usha, solution given by franklin, is...
hello usha,

solution given by franklin, is best.

But keep a point to know if the example you have presented above is the same then it will work fine.

But , if there is any spaces inbetween...
3,117
Posted By pradeepreddy
one more thing i want to clarify , is there only...
one more thing i want to clarify , is there only one particular sub-directory under sub1, sub2, ...subn and its "inbox" .

If this is the case then above script will work fine.

If not then...
3,117
Posted By pradeepreddy
is it giving any error
is it giving any error
3,117
Posted By pradeepreddy
Hello kiran , what you have written is correct....
Hello kiran ,
what you have written is correct.

I have also tried the same it works fine

cat test.txt | while read LINE
do
CD1=`ls ${LINE}/inbox`
echo $CD1 ### this is a extar which i have...
6,386
Posted By pradeepreddy
you can also try out as arp -a | grep...
you can also try out as
arp -a | grep "192.168.0.1 "
Forum: OS X (Apple) 05-08-2009
0
3,220
Posted By pradeepreddy
iSCSI
I have configured iSCSI on server with linux running on it .

On APPLE I have downloaded gloablSAN. When globalSAN is started ,it asks for target IP . I have given target IP . It has detected the...
Forum: Red Hat 04-28-2009
1,893
Posted By pradeepreddy
application to be run on machines connected in same network
I have a set up of 5 machines which are connected in same network.

Now i want to run a small application so that those machines are not ideal.
2,804
Posted By pradeepreddy
hello kumarmani, You can check out this link ...
hello kumarmani,
You can check out this link
Sed - An Introduction and Tutorial (http://www.grymoire.com/Unix/Sed.html)

If you want to go through other tutorials . You can search for "sed...
2,804
Posted By pradeepreddy
check this out for searching \M at the starting...
check this out for searching \M at the starting of all statement and replace it with blank space.
cat ref | sed 's/^\\M/ /'

check this out for searching \M at the end of all statement and replace...
5,432
Posted By pradeepreddy
in script include $file in quotes as "$file" ...
in script include $file in quotes as "$file"

and while passing the path to script pass in quotes as
"/root/directory first"

this will work fine.
4,248
Posted By pradeepreddy
nagnatar , I am not facing the problem when i...
nagnatar ,
I am not facing the problem when i execute it on my system.
If you are facing it then it be because of export .

But according to me export should not alter any results.
It justs...
4,248
Posted By pradeepreddy
nagnatar , I am not facing the problem when i...
nagnatar ,
I am not facing the problem when i execute it on my system.
If you are facing it then it be because of export .

But according to me export should not alter any results.
It justs...
4,248
Posted By pradeepreddy
Hello nagnatar, What happens in last script...
Hello nagnatar,

What happens in last script is that if there is any blank line in "num" file then the expression i=`expr $i + $line` goes as i=`expr 10 + ` which is a syntax error.

so...
4,248
Posted By pradeepreddy
Hello nagnatar, What happens in last script...
Hello nagnatar,

What happens in last script is that if there is any blank line in "num" file then the expression i=`expr $i + $line` goes as i=`expr 10 + ` which is a syntax error.

so...
15,488
Posted By pradeepreddy
There is no problem with sending the huge file...
There is no problem with sending the huge file using scp.

I have used scp to send files size in GB's also.
58,379
Posted By pradeepreddy
#!/usr/bin/expect spawn ssh [ lindex $argv 0...
#!/usr/bin/expect

spawn ssh [ lindex $argv 0 ]
expect "*?assword:*"
send -- "abcd1234"
send -- "\r"
expect eof


in this example password is abcd1234, replcaethat string with your password....
83,661
Posted By pradeepreddy
Franklin52's solutions work fine. you can...
Franklin52's solutions work fine.

you can also go for

sort -n ref_file | tail -1 > new_file
4,165
Posted By pradeepreddy
Hello zenith Its possible with for loop...
Hello zenith

Its possible with for loop provided the file should have only 3 entries per line

If yes reply back so that we can provide you with solution.
4,165
Posted By pradeepreddy
Hello zenith Its possible with for loop...
Hello zenith

Its possible with for loop provided the file should have only 3 entries per line

If yes reply back so that we can provide you with solution.
2,893
Posted By pradeepreddy
check this out sed 's/<//' file_name ...
check this out
sed 's/<//' file_name

this will work
2,893
Posted By pradeepreddy
check this out sed 's/<//' file_name ...
check this out
sed 's/<//' file_name

this will work
Showing results 1 to 25 of 66

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