Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
RedWulf

sed -e 's HELP

Recommended Posts

Posted · Original PosterOP

I'm attempting to set up hadoop on a few Ubuntu 14.04 computers and, to spare the set up process, the next step is to run

sudo sed -e 's/(.*)/bin/java/1/g'

I've tried a few variations and my returns are either

unrecognized 's' command

or

unterminated 's' command

obviously I can't just remove the 's'

HELP?


                     .
                   _/ V\
                  / /  /
                <<    |
                ,/    ]
              ,/      ]
            ,/        |
           /    \  \ /
          /      | | |
    ______|   __/_/| |
   /_______\______}\__}  

Spoiler

[i7-7700k@5Ghz | MSI Z270 M7 | 16GB 3000 GEIL EVOX | STRIX ROG 1060 OC 6G | EVGA G2 650W | ROSEWILL B2 SPIRIT | SANDISK 256GB M2 | 4x 1TB Seagate Barracudas RAID 10 ]

[i3-4360 | mini-itx potato | 4gb DDR3-1600 | 8tb wd red | 250gb seagate| Debian 9 ]

[Dell Inspiron 15 5567] 

 

 

Link to post
Share on other sites

I'm assuming you mean "/bin/java" 

 

You have to remember, the slash means something in the sed expression. You likely need to do something special to use it. 

 

(I'm being ambiguous so you can figure it out your own).

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

Newegg

×