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

4
votes
1answer
8k views

What is the difference between xterm and terminal in Ubuntu?

What's the difference between Terminal in Ubuntu desktop (Applications>Accessories>Terminal) and xterm? They look very similar.
8
votes
3answers
4k views

SIGTERM with a keyboard shortcut

I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM or even SIGKILL to ...
1
vote
3answers
551 views

Custom command in terminal with a variable

Redhat Linux Enterprise Editing a terminal profile -- Run a custom command instead of my shell Custom command: tail -3000f /home/user1/folder/$PROJECT/folder2/folder3/text.log When I save it and ...
1
vote
0answers
289 views

How to display a framebuffer and some stdout text

So I have this program that writes to the framebuffer in Ubuntu. It works beautifully: I enter the system terminal using ⇧+CTRL+F1, then start the program, and it starts writing to the framebuffer and ...
1
vote
2answers
8k views

how to reset /dev/ttyS0

I'm trying to connect to a Khepera robot using serial interface (running Scientific Linux 6.1) I used the command screen /dev/ttyS0 to communicate which worked OK, but then I wanted to close it and ...
0
votes
2answers
2k views

Zip all files in a directory, but don't include the top directory in the archive

Can't quite figure out how to do this right. I have a folder with a website in /var/www I want to create a zip file with all of it, which when I decompress it does not include the top directory. In ...
0
votes
2answers
1k views

Terminal unzip outside default directory

Using terminal command "unzip" seems to be extremely useful when deploying a CMS to a remote server, since you can transfer a zip and unzip it remotely. However, I cannot find a way to unzip the all ...
1
vote
3answers
627 views

How do I open files from the command line in Mac

I'm following a video tutorial where the author (who uses textmate) can open files by using "mate". for example mate .git/config will open this config file I'm using textwrangler however so I don't ...
2
votes
1answer
345 views

Is it possible to activate Multi-Threaded copy from terminal?

I notice a significant performence difference when I copy files from External Hard Drive to my MacBook compared to copy files through Terminal.app. The non-Terminal method is 2-3X faster. I am copying ...
2
votes
1answer
167 views

Vim “folding”/“unfolding” keyboard behavior mystery

Sometimes, while using vim (no matter, on remote machine or the local one), my arrow keys suddenly stop reacting. I know, a true vimmer should use "hjkl" instead, but the question is different. I've ...
4
votes
1answer
494 views

Trying to create an ISO of my bootable USB using the unix command: dd

i'm trying to create a (bootable) ISO (which i'll then burn to dvd) from the source being an bootable USB disk (it contains windows 7 and i've installed a number of PC's from it already). So i'm ...
5
votes
2answers
6k views

How to open a terminal quickly from a file explorer at a folder in Windows 7? [duplicate]

Possible Duplicate: Windows Console in Explorer Context Menu This can be done easily in Ubuntu, just right click and open Terminal. It is very inconvenient to open cmd.exe then cd to the ...
1
vote
1answer
76 views

How can I achieve the opposite of kde-open?

Is there any way to achieve the opposite of what kde-open does in KDE? I mean, I want to be able to open files using emacs inside the terminal, instead of using the X version of emacs. I already run ...
7
votes
1answer
2k views

Restore Mac OS X Terminal title after closing a SSH connection [duplicate]

Possible Duplicate: How do I make OS X set the terminal title back to the original title when coming back from ssh? Every time you logout from a SSH connection in Mac OS X terminal you end ...
1
vote
3answers
241 views

cut and paste filename with spaces into a command

when i type ls or locate as an output i get "a file.txt" (there is a space between "a" and "file.txt". i highlight it with a mouse and than paste it with a middle button. now i have to put \ after ...
21
votes
1answer
3k views

htop isn't returning CPU or memory usage!?

I think that top is great application to monitor a Linux system. I really like it, but top doesn't look so good on Mac. I know that Mac have a system monitor to do it, but I prefer using a terminal. ...
0
votes
2answers
180 views

Question about Terminal Prompt on Mac

I've got a question about the prompt in Mac's Terminal. I opened Terminal and was installing GIT. I don't know anything about Unix or how to use Terminal, so please forgive my ignorance. (I know that ...
2
votes
3answers
3k views

What does Ctrl+C do in Ubuntu Terminal?

Does anyone know what Ctrl+C and Ctrl-V do in Ubuntu Terminal? Since they don't copy/paste, is there any particular functionality to these buttons? When I press those shortcut, it writes ^C and ^V. ...
1
vote
3answers
3k views

256 colors in Vim, OS X Lion

Since OS X Lion the terminal.app is xterm-256color terminal. However vim is rendering only 8 colors. I tried the 7.3 supplied with Lion and 7.3 that is terminal version of MacVim. Vim Wiki sais I ...
0
votes
2answers
299 views

Terminal is Stuck in “cat”

A while back I recall attempting to install an updated version of Ruby on my Mac. I had an interest in the language and thought I would give it a go. I followed detailed instructions that lead me ...
0
votes
2answers
78 views

linux: package for specific “command history” on terminal line?

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?
0
votes
1answer
432 views

Bash Script to Run a Command in Screen

I need to create a bash script that would open a new screen session, then run a program in tha session. Is it possible to do that? Any help appreciated.
5
votes
1answer
146 views

Can I scroll Terminal down when there is nothing to scroll?

When I reach the bottom line, I want to be able to “scroll” down the virtual space so the prompt is at the top again (like in the beginning): Is there any way to do this? This becomes even more ...
12
votes
1answer
17k views

How do I split a .zip file into multiple segments?

I have all the command line utils installed, and need to split an existing .zip (or) new file(s) into (50MB) .zip segments in Terminal. i.e. Folder X = 900MB > Create self extracting .zip archive > ...
0
votes
1answer
402 views

How can I make the Terminal compile a file I edited using Aquamacs?

I'm having trouble getting a small source code compiled in the terminal. I'm completely new at this (just started taking an introductory course)... I'm going to try to describe the situation as best I ...
0
votes
1answer
63 views

What is the command line function to reconnect to a running X server?

I was working on some stuff on my desktop running Ubuntu 11.04. I bumped the button sequence, i forget what it even is now, that throws you back to the terminal. So I log in and hear the music I was ...
4
votes
2answers
8k views

Vim in OSX: How to do page-up/page-down/go to EOL through a vim file opened in terminal?

In putty, which is how I primarily used VIM, I could do the following: Page up/down : Using the native Page up/down key. In Mac, the alternative is Fn + Up/Down, which doesn't work in the terminal ...
0
votes
1answer
315 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 ...
0
votes
1answer
8k 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 ?
10
votes
1answer
4k 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 ...
1
vote
3answers
4k 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
168 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
2k 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
3k 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
1k 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
345 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
535 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
956 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
844 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 ...
1
vote
1answer
419 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
1k 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 ...
4
votes
1answer
7k 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
3k 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
801 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
68 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
3k 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
404 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 ...