Questions tagged [terminal]

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the terminal to perform specific tasks.

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the Terminal to perform specific tasks.

Programming standards

Wikipedia articles

See also:

24127 questions
9
votes
6 answers

Is there a command line framework for ruby?

So, there are web frameworks, there are GUI frameworks, I was just wondering if there was a console/command line framework for ruby? Specifically, I would like to be able to: Have a particular view wherein I could tab to different input segments.…
Stephen Cagle
  • 14,124
  • 16
  • 55
  • 86
9
votes
2 answers

How can I display unicode characters in a linux terminal using C++?

I'm working on a chess game in C++ on a linux environment and I want to display the pieces using unicode characters in a bash terminal. Is there any way to display the symbols using cout? An example that outputs a knight would be nice: ♞ = U+265E.
Lipis
  • 21,388
  • 20
  • 94
  • 121
9
votes
16 answers

Do you use VIM/Emacs/Terminals to develop C/C++? What kind of projects is this practical for?

For those who are using vim/emacs/terminals,etc (ie, not an IDE proper) what sort of projects are you working on? Are they big? Production? Are these the tools you use at work? Or mostly for smaller things...or big things broken into small things?…
Jimbo
  • 91
  • 1
  • 1
  • 2
9
votes
2 answers

tmux resize on focus

I'd like to be able to specify a secondary size parameter for a particular pane so that it assigns the new size upon focusing the pane, and returns it upon exiting. So e.g. (Note [] represents focused terminal cursor) ________________ |$ ls | …
Steven Lu
  • 41,389
  • 58
  • 210
  • 364
9
votes
4 answers

How do I use scp to copy a file from the server to the client side ?

How do I transfer files from a computer I am accessing remotely back to the computer I'm currently at? Can anyone help me? Here's the syntax I know so far, scp (filename) (I don't know what to put here): (location on my computer)
Mechy
  • 259
  • 1
  • 4
  • 14
9
votes
3 answers

Autoconf not linked in homebrew, how to link it?

I'm trying to install autoconf view homebrew on mountain lion, I did this $ brew install autoconf and I got Warning: Could not link autoconf. Unlinking... Error: The brew link step did not complete successfully The formula built, but is not…
user2028856
  • 3,063
  • 8
  • 44
  • 71
9
votes
1 answer

What do the color coded results from "ls" mean in Mac's Terminal?

When I do "ls" it lists files and folders with a color coding. I can't find the translation of this coding anywhere. I know some are files and some are directories, but I've got three colors here. Anyone know where the translation is? There are many…
Don P
  • 60,113
  • 114
  • 300
  • 432
9
votes
2 answers

How to set OS X Terminal's default home?

For some reason after I installed Boot Camp, my os x terminal started to point to the Boot Camp drive instead of my os x home directory by default! Once in the terminal I know how to switch back an forth and am able to do that, but I was wondering…
Mac
  • 2,693
  • 7
  • 36
  • 44
9
votes
4 answers

"Conditional" parsing of command-line arguments

Say I have an executable (running on mac, win, and linux) a.out [-a] [-b] [-r -i -o -t -n ] where an argument in [ ] means that it is optional. However, if the last argument -r is set then -i,-o,-t, and -n have to be…
nils
  • 2,424
  • 1
  • 17
  • 31
9
votes
4 answers

Sublime Text 2 - OS X Command Line

Original Sublime 2 instruction for enabling editor to launch from command line: ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl do not work in Mountain Lion.
Pavel Binar
  • 2,096
  • 5
  • 16
  • 26
9
votes
3 answers

Open file in default editor from bash

How do I open a file my script generated with the default GUI editor with bash? On OS X there is the command open, but as far as I know that doesn't exist on linux. What is a good cross-platform alternative? (executing open somefile.ext on OS X does…
Jawap
  • 2,463
  • 3
  • 28
  • 46
9
votes
4 answers

Access Denied for MYSQL ERROR 1045

I just got a new macbook pro (OS X 10.8.2) and am attempting to get mysql set up on it. So far I've been able to get it installed but I cannot get my root user access (or any user for that matter). I plan on using this for Python, on my other…
jmitchel3
  • 391
  • 3
  • 4
  • 17
9
votes
5 answers

When I try to run vim in command line I get Python errors

When I try running vim in the Terminal (so as to follow @romainl's suggestion in my other question) I get lots of Python errors, which all boil down to: IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such…
greduan
  • 4,770
  • 6
  • 45
  • 73
9
votes
1 answer

UTF-8 Filenames return Not Found in linux terminal

I have a problem with some files in linux (Ubuntu) terminal, with accents in the names. For example: $ ls dir/ criação.png So, the terminal returns that file, so it exists. Now lets look if the file exists, with this simple command: $ [ -f…
9
votes
2 answers

How to install latest ffmpeg on mac

I am using this command sudo port install ffmpeg +gpl +postproc +lame +theora +libogg +vorbis +xvid +x264 +a52 +faac +faad +dts +nonfree But the installed version of ffmpeg I get is only 0.7.13. I am using MacPorts which may be the issue Apparently…
Bachalo
  • 6,965
  • 27
  • 95
  • 189