ubuntu 7.10 install CLI?

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
jbangert
Forum Newbie
Posts: 2
Joined: Tue Mar 25, 2008 2:18 pm

ubuntu 7.10 install CLI?

Post by jbangert »

I'd like to run php CLI + curl on ubuntu 7.10.

I ran Synaptic, did what it said,
everything seems to be OK.

How do I run a command?

Been writing code for 44 years,
currently C# in Windows.
Installed ubuntu from Sobell's Practical Guide.
Everything is OK.

Thanks for the help.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: ubuntu 7.10 install CLI?

Post by Zoxive »

Code: Select all

sudo apt-get install php5-cli php5-curl
jbangert wrote:How do I run a command?
What kind of command?

Code: Select all

kyle@w3jubuntu:~$ php5 -r "
> var_dump(null);
> ";
NULL
(One way to execute some code)

Like usual look at the manual.

Code: Select all

man php5
jbangert
Forum Newbie
Posts: 2
Joined: Tue Mar 25, 2008 2:18 pm

Re: ubuntu 7.10 install CLI?

Post by jbangert »

Many thanks for the quick reply.
I'm guessing the main problem here is:
there's lots of stuff I don't know.
I don't know what is common knowledge.
I don't remember a lot of Unix. That was 30 years ago.

But, so far I'm making progress with your suggestions.

Next step -- learn to use the text editor.
'Cause, I'm sure NOT going to go back to
vi or emacs.

Thanks.
Post Reply