A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

0
votes
1answer
330 views

gnome-terminal like terminal in Windows XP?

I'm running Cygwin in Windows XP. I find it quite handy, apart from it running in the default Windows Command Prompt. Are there any alternatives to this? For example, is there a terminal that is like ...
0
votes
0answers
53 views

How to delete directories in Linux without y/n prompt? [duplicate]

Possible Duplicate: Linux rm non-interactive command When I try to delete non-empty directories using the following command: rm -r NAMEOFDIR it prompts to if I want to delete each and ...
1
vote
1answer
9k views

Which is the best font for Console/Terminal/Command Prompt in Linux/Windows? [closed]

I have seen Consolas as very good programming font. But I don't think the same font looks very good in Console and Terminal. Any other suggestions ?
12
votes
1answer
5k views

getting git colors in OSX terminal

I have just installed XCode and GitHub for Mac. I have successfully run "GitHub->Install Command Line Utility". I can connect to repositories with both apps and I can use the git command in the ...
4
votes
4answers
8k views

How to run a command after an already running, existing one finishes?

If I start a script that is going to take a long time, I inevitably realize it after I've started the script, and wish I had a way of doing some kind of alert once it finishes. So, for example, if I ...
1
vote
1answer
204 views

How to get rid of a phantom folder in OS X?

I have a weird folder in my home directory. It's called "..Copied!" This name probably comes from an unfortunate period of time when I had overridden pwd in my bash profile. I learned my lesson and ...
5
votes
3answers
3k views

Switching tabs in Mac terminal with Ctrl+PageUp/PageDown

I've recently started using a Mac (running Lion), and there is one inconsistency that's getting to me. In Chrome and MVim, I can switch tabs with Ctrl+PageUp/PageDown. But, in the Terminal, I have ...
0
votes
4answers
5k views

How do I automatically close Terminal.app on exit in OS X Lion?

I've recently acquired a new Mac with OS X Lion, and I'm tuning it for my needs. I was trying to configure autoclose on Terminal using its preferences (as I've done with Tiger and Snow Leopard) but ...
1
vote
2answers
2k views

Can't copy/paste to/from system clipboard in Terminal on Mac

I can't copy or paste to or from the system clipboard within the Terminal. Neither Cmd-C/Cmd-V nor menus work. Instead, Terminal seems to be using it's own buffer for copy/paste operations. I am ...
2
votes
1answer
807 views

After typing 'info bash', how do I exit the documentation?

I tried to use the terminal. I typed "help" and was happy to see a list of commands appear on the screen, among which "use 'info bash' to find out more about the shell in general". So I typed 'info ...
1
vote
1answer
785 views

What do the number codes mean in active profiles in terminal on macbook pro?

Is there somewhere that says what the numbers mean? Specifically I want to know what the -1 is by AC Power, it used to be a 2. Suprise:~ Marty$ sudo pmset -g Password: Active Profiles: Battery ...
2
votes
1answer
1k views

Why won't my bash script work?

I'm getting more comfortable with the terminal in Mac OSX and I thought I'd have a dabble at bash scripting. Not wanting to crawl before I could sit down I wanted to write an incredibly simple "Hello, ...
2
votes
1answer
2k views

How can I shutdown a Windows machine remotely from OS X?

I'm trying to shutdown a Windows machine remotely from within OS X. I've seen this a lot on Linux sites but it doesn't transfer over: net rpc shutdown -I xxx.xxx.xxx.xxx -U username%password I'm ...
7
votes
5answers
1k views

Is it possible to get your router's external ip address without using a website?

I was wondering if there was a way to find out your router's ip address without using a website like www.whatismyip.com. I searched around, and I am beginning to think it is impossible. If that is ...
2
votes
1answer
701 views

How to print only an IP address list of traceroute?

How do I print only an IP address list of a traceroute run? I don't want the web addresses like something-online.net and their round trip times. How do I get a "simple" traceroute from the ...
0
votes
2answers
2k views

Kill background processes started by bash script

I'd like to run the CoffeeScript and the Sass compilers in the background, and be able to kill them both at once. I have a bash script start, like this: coffee --watch -o assets/ -c src/ & sass ...
1
vote
2answers
1k views

Mac OS X Lion terminal places command prompt in the middle of PS1 envvar

Before I installed Lion opening a terminal window placed the cursor at the end of the prompt like so: Wed Aug 31{shirsch4@Susan-Hirschs-iMac}/projects/perl/perl/lib/Utils--><cursor> Now ...
5
votes
1answer
11k views

How do I tell tor, from the command-line, to give me a new identity?

Is there a way to ask tor/vidalia for a new identity, via the command-line, as opposed to mousing to the icon, bringing up the menu, and clicking the option there? I'm running Mac OSX 10.6 and 10.7 ...
3
votes
5answers
5k views

Concatenating files from multiple subdirectories

Say I have a directory structure that looks like this: file1.txt folder1/ file2.txt folder2/ file3.txt How can I concatenate file1.txt, file2.txt, and file3.txt into a single file? Edit: ...
2
votes
1answer
937 views

Acer Aspire 5552 RF-kill in Linux = broken. No Wireless

So, I want to install Linux on my laptop. I started with Arch... but 4 hours later, I'll take anything... so now I'm trying Ubuntu. It appears that the keyboard function button that corresponds to my ...
0
votes
1answer
78 views

CLICompanion equivalent for rpm-based linux?

There's a nice program for linux terminal beginners - CLICompanion - terminal with tips and dictionary. It's distributed only with deb packages. I'm just wondering if there's rpm package for this ...
0
votes
3answers
4k views

executing unix code from the terminal

I have a directory on my hard drive that contains a collection of Unix executable files that I am trying to run from the terminal. When I browse the directory from the terminal it shows all the files ...
1
vote
1answer
464 views

Transparent background but solid title bar and text in Windows 7

I'd like to have a terminal like the one in Ubuntu where the background is transparent but title bar and text is still solid. I have tried Console, but setting the alpha value makes the entire window ...
1
vote
0answers
131 views

How to make ^T work for the status char under Linux?

I’ve grown really accustomed to the BSD status char, ^T, since I first started using it back at university during the 80s. It didn’t originate with BSD, but came from even older operating systems. It ...
1
vote
1answer
656 views

Getting zenity and at to work properly

I'm trying to use zenity and at to make a little reminder script. The problem is that while zenity --info works fine from bash (or sh), running echo "zenity --info" | at now + 1 min does nothing. ...
0
votes
2answers
55 views

How to open a certain document at login?

I have a file: mydoc.xlsx (Excel spreadsheet). Is there some sort of terminal command or other setting in Excel or otherwise that makes this particular document open automatically when I login?
1
vote
1answer
44 views

How can I see what I have `set` in `vim`?

When I am using vim (in a terminal), how can I get a list/display of what I have set? For example, if during a vim session I have done :set spell, :set wrap, and :set linebreak - is there a way to ...
9
votes
2answers
2k views

How to cancel LaTeX compiling in Terminal?

When I compile a LaTeX document in the terminal like so: latex document.tex How do I then abort the process? Ctrl-C doesn't work.
1
vote
4answers
2k views

Is there a Konsole equivalent for gnome?

I'm looking for a Konsole equivalent for Gnome. I searched Google but was surprised how little I found. I don't want a Quake-style dropdown console. I like tabs and the ability to send a command to ...
1
vote
2answers
74 views

Why is the --help switch not working for all commands in OS X?

I am trying to append --help on OSX terminal commands but it seems that this is not the right way to display help tips on a certain command. What is the equivalent way to do this in OSX?
2
votes
1answer
2k views

How can I parse an XML file from the command line (for GeekTool)?

I'd like to find a Terminal command that can pull the file at http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=SOMEUSERNAME&count=1 and parse it to find a user's Twitter status. ...
1
vote
1answer
105 views

Is there any way to set the contents of the clipboard from Mac OS X's Terminal.app?

I'd like to be able to pipe output of commands from the terminal to OS X's clipboard just like I can do to pipe output of commands to files with the > operator (cat file.txt > file2.txt). Is ...
10
votes
2answers
2k views

Execute a terminal command without saving it to .bash_history on OS X?

This site says that on Linux you can add a space before a terminal command to keep it out of .bash_history. This does not seem to work for Mac OS X. Does anyone know of a way to execute a single ...
2
votes
3answers
3k views

Mac ;9D and ;9C from alt-left and alt-right

I am very used to using alt-left to go to the word before (if you use vim, that's 'b') and alt-right to go to the beginning of the next word. On Mac terminal however (iterm and iterm2), I am getting ...
6
votes
3answers
9k views

Installing a library locally in home directory, but program doesn't recognize it

I am installing a program on a server as a non-root user. Specifically it is tmux 1.5, but this should apply broadly to all locally installed program in my opinion (I mention the program name in case ...
9
votes
2answers
750 views

How do I clear what I typed into the prompt?

I type a really, really long command into bash. Whoops, it was the wrong command. As of now, this means that I go through two hells: Realizing my command was useless. Having to clear my shell by ...
3
votes
1answer
843 views

How do I get context coloring in Mac OS X Terminal?

When I ssh into a remote server from my terminal in Mac OS X Snow Leopard, I get all sorts of great context coloring. It makes it much easier to edit files in vi, gives good contrast when I ls -al, ...
0
votes
2answers
1k views

How to check terminal color capability from command line?

I write: $ infocmp -1 xterm ... colors#8, bold=\E[1m, blink=\E[5m, ... $ tput -Txterm colors && echo OK || echo err 8 OK $ tput -Txterm blink && echo OK || echo err ...
5
votes
1answer
653 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
0
votes
1answer
149 views

Quickest way to learn the useful terminal commands [closed]

I'm an iPhone developer but surprisingly (even to myself) I am completely unfamiliar with terminal. The only things I know how to do are cd, ls, top, kill and the git commands for setting up ...
0
votes
1answer
2k views

iTerm 2 on Mac OS X - How to get rid of all characters before the $ on each line?

I installed iTerm 2 but my shell windows show: "computer name":"current directory" "user" $ This is far too long. I'd like to just see: "current directory" $ Is there an option for this? I ...
4
votes
2answers
3k views

How to let Ctrl + Page Down switch tabs inside Vim in Terminal.app?

When running vim inside the Terminal in Ubuntu, I can use Ctrl + Page Up or Page Down to switch between the vim tabs. How do I set up this for Terminal.app or iTerm2 for Mac OS X? I have a Macbook Air ...
4
votes
1answer
2k views

tmux: sharing current window title (#T) from within nested tmux sessions

I have begun using tmux recently to really improve my terminal sessions. One thing I need to be able to do is connect to a remote server, which is also running tmux. However, I have found that the ...
1
vote
0answers
77 views

How do I set the meta key with the meta convert feature in most *nix terminals?

.Xdefaults: xterm*eightBitInput: false This command apparently allows you to use a meta key + something to enter vi editing mode in a linux terminal. But what is the meta key and how do you set the ...
1
vote
0answers
73 views

Financial and real-time market-data software for the command line

I can easily build HUDs at command prompts for stuff like the weather, my to-dos, Twitter, IRC, etcetera; but the one thing I’m always stuck going to my iPhone or browser for, constantly, is real-time ...
26
votes
1answer
3k views

What does Terminal app's “Show Alternate Screen” do? (OS X)

Today, I discovered a menu item called "Show Alternate Screen" in Terminal.app. I am just curious about what it does. It seems to be sharing the same shell process (unlike tabs), since I see output ...
0
votes
1answer
457 views

Linux clear console [duplicate]

Possible Duplicate: Bash: Reset and Clear Commands I know about Linux command clear, but it just moves previous output from visible part of terminal window (KDE Konsole). I can still scroll ...
5
votes
3answers
6k views

I can't clear the terminal in Mac OS X Lion - “terminals database is inaccessible”

UPDATE 3 - Better Solution I kept Google'ing this until I came to a different solution. I ended up downloading the terminfo directory from somewhere (I forgot where so I just posted the zip on my ...
6
votes
1answer
3k views

Redirecting Terminal.app to iTerm.app

Is it possible to redirect an app in Mac OS X to another app? If not, can you redirect Terminal.app to iTerm.app, so every app that wants to open a Terminal window, instead opens an iTerm window. ...
0
votes
1answer
415 views

issues adding print drivers (Xerox 3250, 4510, 8560) to a terminal server so I can print from it

After remoting into another company's site (using Open VPN) and connecting to a machine their end to access their Accounts databases, I realised my printers hadn't been carried over by Terminal ...