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

3
votes
3answers
324 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 ...
2
votes
3answers
1k views

Vim + iTerm2 color issues

I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2. I try to get the solarized colorscheme working, but without luck so far. ...
1
vote
3answers
454 views

Git for Windows: Run vim in background without ampersand (&)

On my Windows machine, running gVim appears to tie up the git for windows shell, whereas if I run from the command prompt, this is not the case. How might I be able to run gVim (or any other program, ...
1
vote
3answers
749 views

Terminal not running shell bash

My terminal somehow turned into some kind of a text editor; I open it up and the window title says "Terminal - Login - 130x33" with no prompt, just a black window with a cursor like any text editor. ...
1
vote
3answers
240 views

Read everything that has been echo'd and 'errored' to terminal window?

I've inherited a complex shell script running on OSX that gets run on a crontab. Within the script I would like to periodically read everything in the terminal window and write it to another file... ...
0
votes
3answers
52 views

Connect to remote computer through one between (with credentials)

I need to access to remote computer and I have username and password, but I can access only from third computer ( like proxy, I also have credentials for third computer). WhenI start project, from ...
0
votes
3answers
603 views

How do I remotely execute scripts on multiple servers, mix output

Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window: Take as input a list of ssh-enabled machines with login, password and ...
1
vote
2answers
343 views

How to configure gnome-terminal to use xterm-256color by default?

When I start gnome-terminal and do echo $TERM, I got xterm as output. I want it to be xterm-256color I've considered the solution to add 'export TERM=xterm256color' in my .bashrc. But I don't like ...
1
vote
2answers
94 views

Choose which binary is default binary on Mac OS X Mavericks

I have installed the latest SVN 1.8 via homebrew on my Mac. However now If I run svn --version I get back that I have 1.7. Next thinng I run which -a svn which then shows me I have it twice: ...
1
vote
2answers
281 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
1
vote
2answers
71 views

Message appears every time terminal is opened

On OS X Mavericks, whenever I open up iTerm (or the default Terminal), the following message appears: -bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file ...
1
vote
2answers
3k views

Mac Terminal showing bash instead of my username

This makes it hard to know what directory I am in. I installed a version of python for school and now it says -bash-3.2$ instead of MyMacbook: ~$. I'm sure this is really simple, but I know nothing ...
1
vote
2answers
130 views

How do I launch a command file (e.g. *.sh) in a separate shell interaction utility (e.g. iTerm2) on my user's login?

iTerm2 is an awesome utility and makes my interaction w/ the command line much easier. There are a lot of update commands I run on a daily basis, and thought it would be amazing if those could be ...
1
vote
2answers
306 views

Is it possible to grab and store the returned window id of a terminal opened through applescript or bash?

I have been working on this "dashboard" to help control my localhost server environment. It has been scripted in bin/bash for reference. I recently discovered I can use the bin command "osascript" to ...
1
vote
2answers
195 views

terminal.app: how to read the terminal window title

I have seen many questions about how to set the tab (or window) name, but how to get it? I have setup terminal to open 8 tabs, each tab having its own name (dev1, dev2, ... dev8) Is there any way for ...
1
vote
2answers
998 views

Adding highlight to ubuntu terminal

My current terminal looks like this: I know that I can change the font colour and the background colour, but I wanted to know if I can make the words be highlighted according to what they are ...
1
vote
2answers
202 views

Any way to wipe out everything I have installed via Command Line?

So I have borked my system. Running OS X 10.8.3, I have installed a mess of stuff; Ruby, RVM, Git, Node, Brew etc... As well as playing with dotfiles (http://dotfiles.github.io/) Which I really ...
1
vote
2answers
43 views

Logging into multiple servers simultaneously

We have a service which is a distributed system running across about 16 machines, each doing different things. When an operational issue is reported, I would ideally like our dev/ops team to be able ...
1
vote
2answers
179 views

Deleted system files in fonts folder, can't put them back

My friend decided to pull a prank on my computer the other day and I decided to return the favor. I came across a the idea to remove the files in his files in the /Volumes/System/Library/Fonts folder. ...
1
vote
2answers
232 views

Mac Terminal Forgetting Aliases

Every time I set a new alias in terminal and exit out it seem to forget them. Any ideas as to why that is? I had Git installed too, but whenever I try to use it I get a command not found error.
1
vote
2answers
127 views

terminate the background task launched by xterminal

I used Xterm -e command to run six programs in the background in six X terminals in my shell script. When I used PS command, I can see 6 Xterm process running in the background but I can't see the ...
0
votes
2answers
47 views

Terminal executes a seemingly arbitrary command when opening a new tab in Mac OS X 10.10

I’m on Mac OS X 10.10. All of the sudden, my “Terminal” started running a command whenever I open a new tab. This is frustrating because I'm used to being able to type immediately when opening a tab ...
0
votes
2answers
79 views

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal: When I :q from vim, the contents of the vim screen is ...
0
votes
2answers
47 views

Can you see whats happening under the gui?

When I start application with gui from linux terminal, i am able to see whats happening iunder the gui in that terminal. And if it crashes, most of the time there is problem why did it crashed. So my ...
0
votes
2answers
79 views

Mac Terminal Hostname problems

I have an Imac with Yosemite installed with all latest updates. It uses a static IP. When I open up a Terminal window it appears like this: IMac\203975092370517331:~ peter$ This is very strange. ...
0
votes
2answers
149 views

In tmux, can I get `exit` to exit the containing terminal window and not the session itself?

So when I open a new terminal (I use terminator on Arch Linux), I have it configured to either open a new tmux session if one doesn't exist, or attach to an existing one. When I type exit at the ...
0
votes
2answers
254 views

Is it possible for a root user to watch others' shell session secretly in live?

I see a similar question on stackoverflow: http://stackoverflow.com/questions/1353253/linux-terminal-how-to-capture-or-watch-other-terminal-session Someone recommends conspy. However, it seems that ...
0
votes
2answers
295 views

Mac addresses of devices on network

I'm on OSX Mavericks. I'm connected via wifi to my network. How can I find the mac addresses of all other devices on the network?
0
votes
2answers
57 views

Copy shell configuration from one machine to another?

I've got login to another server where shell configurations are not like I would want. For example I don't see my username and CWD on prompt, and when I press arrow key, instead of giving last entered ...
0
votes
2answers
50 views

Why do I not have access to defined aliases on the server while connected via ssh?

Why do I not have access to defined aliases on the server while connected via ssh? How can I force the terminal to use their defined aliases?
0
votes
2answers
144 views

What are the differences between each virtual console (Ctrl+Alt F1 - F6)?

In Ubuntu, there are 6 virtual consoles, which can be accessed by pressing Ctrl +Alt + F1 - F6, and F7, to exit. What are the differences between these virtual consoles? Do they run different things, ...
0
votes
2answers
352 views

Undo chmod -R a+rwX command

How can I undo the following command: chmod -R a+rwX / I used it to modify some permissions, but it did not do as I had expected. I want to undo it, or at least reverse it.
0
votes
2answers
2k views

Terminal fails with a “Could not create a new process and open a pseudo-tty.” message

Yesterday, I upgraded my Mac to Mac OS X 10.9 (Mavericks), and since then I couldn’t open the “Terminal,” each time I open a session, the following error is shown: [Could not create a new process ...
0
votes
2answers
65 views

Terminal Program To Save VI State

For a few years now at work I have been using the GNOME Terminal, and have gotten very used to that. I usually organize my work by categorizing each task on its own virtual desktop, then within each ...
0
votes
2answers
112 views

Broken OS X terminal prompt after installing GRASS via homebrew

I'm using GRASS on OS X. After installing GRASS I can no longer open my terminal to a prompt. On opening the terminal, the following line runs by itself ...
0
votes
2answers
152 views

some environment variables not load under certain circumstances

It is most weird. I have set the environment variable TEST in .bashrc, .bash_profile, .profile, /etc/profile and /etc/profile.d/ - everywhere a sane computer might look for it: TEST=successfull ...
0
votes
2answers
757 views

OS X Terminal prompt changed

My terminal prompt on OS X 10.8.3 suddenly is not the machine or hostname anymore but something like: minint-j4lfb2s:~ Where does that come from? I did not change it. How can that be?
0
votes
2answers
299 views

How can I get the terminal in full resolution when running Ubuntu CLI in VirtualBox?

I've installed Ubuntu (latest version) with CLI only, inside VirtualBox running in Windows 7 x64. Switching to fullscreen (CTRL + F in my setup) works, but of course the terminal windows has a low ...
0
votes
2answers
473 views

Script to auto execute creation of ssh tunnel

I'm a CS student, and still learning a lot of these things, and so please bear with me if I don't have a full grasp on what I'm trying here. I'm on a Mac, connecting to a linux machine. I can set up ...
0
votes
2answers
24 views

Misplaced Terminal.app

How can I find Terminal.app manually? I believe that I moved it somewhere using a command line like this: sudo mv Terminal.app ./Desktop It didn't show up on my desktop, and it isn't in ...
0
votes
2answers
42 views

Regarding Backup While Using CP

I have some files on the Desktop /Desktop/F1/T1 /Desktop/F2/T2 I want to copy those files to another folder like Destination but If the destination contains a file with same name I want to backup ...
0
votes
2answers
736 views

New line when editing text files in ubuntu terminal?

I know that to symbolize a new line, I would do echo -e "line 1 \nline 2" > text.txt. I find that using \n repeatedly can be annoying, and I would to know if there a way to actually go down a line in ...
0
votes
2answers
2k views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
0
votes
2answers
167 views

where linux fedora limit concurrent opening connections in terminal?

i have some web servers around and to manage the cluster i sometimes use script which opens automatically the connections and syncs files to them using python scripts, I've encountered a weird problem ...
0
votes
2answers
412 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
241 views

terminal via null-modem cable

How to get the Linux terminal via null-modem cable on-the-fly (without editing /etc/inittab file)?
0
votes
2answers
157 views

Unable to bring back terminal launcher in fedora

Our office housing keeping guy sat on my linux (Fedora 7) system and somehow removed the main panel. By panel I mean where all the menus are there - Applications, Places, System etc. and contains a ...
0
votes
2answers
813 views

Strange characters in OSX Terminal

I am using Terminal in OSX to Git files to and from remote repositories. Suddenly I notice that some Git commands and status responses are returned and contain strange characters in them, such as the ...
-1
votes
2answers
37 views

Apply command to every line in bash terminal

I've accidentally discovered the lolcat package today. The first thing that I though about is: it would be fantastic if i could pipe everything that comes from stdout to the terminal through lolcat ...
-2
votes
2answers
30 views

Copy sequential files into sequential directories

I need to copy multiple, sequential files into sequential directories. The files have the julian date (day of year) with other info in the file name. The directories are listed by julian date (day of ...