Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8558683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:52:04+00:00 2026-06-11T15:52:04+00:00

I recently bought a macbook air, and I’m trying to program using the terminal

  • 0

I recently bought a macbook air, and I’m trying to program using the terminal instead of an ftp client + text editor.

I know how to SSH in, and from there run PHP (php -a), but I can’t quite figure out an overheadless way to create, write, and save a file in PHP. Any help would be perfect

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:52:05+00:00Added an answer on June 11, 2026 at 3:52 pm

    I wouldn’t recommend programming using a simple text editor in a terminal. The best thing you could do is use an IDE such as Zend Studio, Eclipse PDT or NetBeans. There are many out there. IDEs give you syntax highlighting, code completion, etc and those are just some of the basic features. One feature I love about Zend Studio – even though I haven’t used it much – is Remote Server connections. It allows you to connect directly to a remote server and edit the files right in Zend Studio!

    Why should I use an IDE?

    Don’t use FTP+text editor. Just use FTP to download your files (if that’s the only way you can download them) and save the entire project into a folder and use an IDE to edit and save your files.

    As many other people stated, you can use vim or nano in the terminal. I prefer vim and it does come installed with OS X so you don’t have to install anything.

    $ vim filename.php
    

    Then while in vim, if you want to make changes your simply press the i key on your keyboard. That changes vim to “insert” mode. After making changes in “insert” mode, press ESC and then the colon key ( : ). Now you are ready to write your changes. Press the w key to write and q to quit and lastly press enter. That’s pretty much your most basic stuff for vim.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently bought a new Macbook Air, installed all my software including Xcode, I've
I recently bought a new phone (Motorola Electrify) and I'm trying to connect it
So I just recently bought some web hosting and I'm trying to get my
I program in Asp.Net, C#, and I have recently bought a tablet with android
I'm trying to build a program to solve a problem in a text book
Recently, I bought a new macbook and installed weka. When I double click on
I've bought a MacBook Air(I've been converted from a PC guy to a Mac)
I recently bought a MacBook Pro that I will use to develop an iPhone
I have just recently started using Atmel Studio 6 to program an SAM3S4A that
My wife recently bought a nano, and I wanted to write a simple program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.