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

1
vote
1answer
207 views

Finding Group name by using GeneratedUID

In Mac OS X Lion, given a group's GeneratedUID, what command can I do a reverse lookup and find the group name? DSeditgroup (group name) will give me the GUID, but I'm looking for the reverse. Thank ...
0
votes
2answers
212 views

Where does a file have to be for terminal to find it?

I'm trying to use rpm to install a file through the linux terminal. The file I'm currently trying to install is in my downloads folder and is named: vnc-server.rpm But when I type rpm -Uvh ...
0
votes
1answer
138 views

Detecting used terminal application (iTerm2)

Can one detect what terminal application is being used? I want the actual application, not TERM env in the question. I'd like to detect iTerm 2 / Terminal.app so I could set OSX specific keyboard ...
1
vote
1answer
109 views

Shell scripts in windows

I've been using the terminal in Ubuntu and Debian for a while and use shell scripts, commands like find, grep etc.. and the vim editor. What is the best way to use such commands/software under ...
0
votes
2answers
110 views

How to find out why openning a Terminal in OS X is very slow sometimes?

Is there a way to verbosely print everything that gets executed when I open a Terminal in OS X? Sometimes it takes up to 10 seconds for the Terminal to become ready for interaction and I want to know ...
1
vote
2answers
53 views

OSX - what would cause a d.txt file to contain all my Terminal history to appear in my homedir?

I was working when I noticed a file in my homedir called d.txt. It contained all of my iPython work I'd been doing in the last hour or so. Is this something that my Terminal app did, or something that ...
1
vote
1answer
907 views

Terminal not working: -bash: exit: with: numeric argument required what to do?

I was trying to install F# compiler and interactive on my Mac, and part of the installation process required providing aliases in the bash profile file. I suspect that I messed something up here, ...
1
vote
1answer
3k views

Xubuntu Terminal overrides shell- and vi color schemes, how to deactivate?

I'm running an up-to-tade Xubuntu and have a real problem with these Terminals. I don't want them to be all that design-ish. Just the plain old Terminal with a black background and green text. And in ...
0
votes
0answers
140 views

Terminal highlighting and auto complete

Do you know some plugin for highlighting and autocomplete in postgreSQL terminal?
1
vote
1answer
119 views

Regex to remove and then rename file

I'm using terminal on OSX along with the find command to find *.txt files and then rm them with the current time/date stamp. All my files which find locates consists of filename_day_month_year_hour. ...
2
votes
2answers
2k views

Bash/xdotool: Commands work, but not in a script

I am making a bash script for Linux which closes the terminal window if the window loses focus. On the command line, I was able to do this: termwin=$(xdotool getactivewindow) while : do if [[ ...
4
votes
1answer
447 views

Way to switch F keys to 'application' keys and back on mac via terminal? (10.6)

Is there a command I can issue via terminal to switch my F1-12 keys to being application keys (media, screen brightness ...) and back? i.e. replicate toggling System Preferences => Keyboard => ...
0
votes
0answers
20 views

Mac Terminal - Changing the $ Prefix [duplicate]

Possible Duplicate: Is it possible to change my terminal window prompt text? Is it possible to change the $ prefix in the terminal to another character? I would like to change $ to ⚡. ...
3
votes
2answers
260 views

CTRL-[keys] and arrows not functionning in terminal / ipython

I'm using ipython Inside the python shell, when I press up instead of showing the last command, it prints ^[[A also CTRL-[keys] are fubar. CTRL-p prints ^P Everything is normal under ...
0
votes
3answers
493 views

Save terminal tabs, and vim sessions

Is it possible, using terminal in Ubuntu 12.04, to save the session, with all the tabs and everything opened in those tabs, and than reopen it at a later time? My problem is that I have a few tabs ...
9
votes
2answers
5k views

VIM: How to configure Solarized colorscheme in Konsole

I am trying to configure Solarized for use in VIM in Konsole (KDE terminal). This is the result that I get: Note that Solarized looks fine in GVIM on the same machine: I suspect that it is ...
0
votes
1answer
441 views

create alias to ssh to a server and then connect to mysql

I currently have an alias to connect to a remote server: alias server='ssh user@ec2-00-00-00-000.compute-1.amazonaws.com' I would like to have an alias to connect to this server, and then ...
0
votes
2answers
616 views

View old command output from a closed terminal

I ran hg pull hg up to check in my working copy to the Mercurial repository. I got some warning messages in the terminal. I closed the terminal and now I want to see those messages again. Are ...
3
votes
2answers
5k views

Can't Install npm, Can't Remove npm, Can't Access Any Commands, Can't Install Coffeescript

I am on Mac OS X Lion, I just used the package installer from nodejs.org to install node.js. Node.js is working fine, and Node.js comes with npm. I have homebrew installed as well. I am just trying to ...
1
vote
1answer
198 views

Sigkill terminal emulator

I use tmux. Sometimes I have a terminal emulator open and I'd like to kill it without closing all my tmux windows. Right now I can do it with a ps -u <user> | grep urxvt followed by kill ...
11
votes
1answer
8k views

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
0
votes
1answer
484 views

How to make bash remember history of previous sessions?

I have MacOSX but this should be *NIX-generic. In my computer at work, my bash shell remembers history from previous sessions, even if I just opened a new terminal. In my computer at home, this ...
1
vote
1answer
122 views

Missing library libkolfprivate.so and the symptoms?

Every time I want to install something in pacman I get this info: ldconfig: File /usr/lib/libkolfprivate.so is empty, not checked. ldconfig: File /usr/lib/libkolfprivate.so.4 is empty, not checked. ...
1
vote
2answers
727 views

Escape sequences in virtual terminal

I need send next escape sequence through COM port. ^[[LD NOTE (from manual) Pressing "Ctrl-v", "Ctrl-[" on keyboard will generate the "^[" escape sequence. In some file systems, the escape ...
0
votes
2answers
345 views

Login to Remote Linux machine and chRoot preserving all Terminal Windows

Everyday I connect to a remote machine (RedHat) from my macbook (Lion). I use Terminal to connect to remote machine and then to chroot. Then I open 2-3 windows on Terminal for various files. Is ...
32
votes
4answers
11k views

With Bash + iTerm2, how to name tabs?

In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql ...
0
votes
1answer
543 views

Execute Selenium at the startup

I'm using Selenium to automate a browser in a Server from a client, but I want that the server execute selenium automatically at the startup. I have 3 files in /etc/init: proxyserver.conf: respawn ...
4
votes
2answers
2k views

Grep in Mac OS X's terminal — only displaying one color

I am used to grep being able to color the filename, the line number, and the match itself. These three ought to be different colors. This works flawlessly on a Linux terminal and even MinGW on ...
2
votes
1answer
312 views

How to spawn a terminal when executing a compiled C program?

I've overwritten the gnome-screenshot program to suit my needs in getting a screenshot from a secondary home-made graphics card output and now when I press the PrintScreen button it executes it (as ...
3
votes
3answers
650 views

Quit an application in OS X Terminal

I'm fairly new to OS X. I am testing a PHP application that runs continuously in a loop. When I run this application from the terminal, the machine name disappears and the application proceeds to ...
4
votes
2answers
1k views

How to configure the ANSI colors of the command line terminal

I specifically use bash on Mac OS X, but I think the answer would be Unix-generic. I'm already using ANSI colors, but I'd like to reassign different colors to folders, hidden files, etc. ...
7
votes
1answer
4k views

How can I grep with color in Mac OS X's terminal?

I recently found that on Mac OS X I can set this up in my shell ~/.profile so that when I use grep it will print the matches in color (white one red). alias grep='GREP_COLOR="1;37;41" LANG=C grep ...
0
votes
2answers
376 views

Shutting up KDE applications launched from the command line

Whenever I launch a KDE application from the command line, for instance okular to view a pdf, I get spammed with tons of warnings and various messages that I am not interested in. Even hours after I ...
2
votes
1answer
156 views

Combine compilation-mode and ansi-term-mode in Emacs?

In Emacs, I would like to be able to combine the features of ansi-term-mode and compilation-mode. I have a build system for compiling my source code which uses terminal commands for placing the ...
7
votes
2answers
8k views

Enabling SSH Daemon from Terminal (OS X Lion)

I am trying to find a way of turning on SSH through terminal, instead of opening settings and turn it on that way. Or perhaps a way to turn SSH on by running a .pkg file? I am running OS X Lion, but ...
3
votes
2answers
462 views

Missing segfault output in Linux terminal when running with “&”

I am debugging an application that has to run with other components. I am wrapping everything in a script: #!/bin/bash ./component1 > 1.log & ./my_application & ./component2 > 2.log ...
2
votes
3answers
3k views

How I can run init scripts as non-root user?

I put this file in /etc/init/proxyserver.conf that execute this script at startup (Ubuntu 11.10): description "Run code for ProxyServer" start on runlevel [23] script cd ...
0
votes
1answer
295 views

Reverse Terminal Commands - Mac?

I'm using OS X Snow Leopard and typed this cmd into Terminal after reading a blog post that claimed it was a fix for a particular problem I was having, but it has caused other config issues instead. ...
1
vote
2answers
76 views

File Creator Program linux

I need to view via terminal in what program the file was created. Something like : $ "command" /Volumes/USB1/IMG_0231.jpg Creator = "Adobe Photoshop Elements 3.0 Macintosh". Any thoughts?
6
votes
2answers
559 views

Can I login to multiple terminals with the same user safely on Linux?

By terminals I mean the ones you can switch to using Ctrl+Alt+F1-F6. I know I'm able to login multiple times but does this have any side-effects?
0
votes
3answers
561 views

How to make an alias for a folder on a mounted drive?

I use parallels to run a windows machine and would love to make an alias in my .profile to make a shortcut to my project folder, but the following alias below dosn't seem to work. alias ...
1
vote
2answers
5k views

Gtalk for Terminal in Ubuntu

Is there a way to log onto to gtalk and have multiple chats open using the terminal?
6
votes
1answer
2k views

SSH via terminal, from Mac to Mac (via home network)

First off, I'm not 100% sure this question is on-topic on StackOverflow, but here you go : I've set up a home network : 1 wireless router connected to the internet my 2 Macs connected to the ...
3
votes
1answer
1k views

How can I use Emacs in terminal mode and use Alt + ? shortcuts?

I want to use emacs in terminal mode, but in Ubuntu 11.10 the bash terminal already has many Alt started shortcuts, how can I handle with that ? Bye.
2
votes
3answers
59 views

Terminal: login(1) or su(1)?

I am on OSX. Can use both login(1) or su(1) to login as any user. But, two binaries to make the same job?? Which one consumes less system resources? Which one is less prone to security risks? ...
1
vote
2answers
1k views

Minimum system requirements for a thin-client PC?

How much RAM, CPU, Disk does a thin-client need in order for it to work on a terminal server like Ubuntu or Windows XP? (Network Boot).
0
votes
1answer
566 views

signal spacebar key stroke on xte?

I have been using xte for some UI testing and I found that xte 'key Space' doesn't seem to do much. How can I signal a spacebar key stroke on xte (Linux)?
1
vote
1answer
288 views

How to colour folders controlled by SVN in terminal?

Is there a way to get the SVN controlled folders list with different colors in the terminal? Like an alias for "ls". So when we type "ls", all the folders with an ".svn" sub-folder should be yellow ...
2
votes
3answers
297 views

Is it possible to open a file using the command line in OSX and then open another one, but only after the first application has finished loading?

I have a set up for live shows using Ableton and Reason. I typically open the Ableton file, wait until it loads and then open Reason. The reason for this is because Reason acts as a slave to Ableton, ...
0
votes
2answers
410 views

Compress a folder of PDF files into separate zip archives

I wanted to take a folder full of PDF files and create a number of separate zip files, after following the advice on this question everything worked *almost*perfectly. Here's what happened: When I ...