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
0answers
59 views

Midnight Commander function keys not working

I'm using Midnight Commander in a Mac Terminal. I'm using PC keyboard, so function keys work as F1-F12 keys, but they don't work in MC. I tested what character sequence is sent with each function key ...
7
votes
4answers
17k views

how to kill process in Mac OS X and not have it restart on its own

When I run sudo kill -9 [PID] with the proper process ID, the process stops but then is restarted and has a new PID. I'm trying to kill the mysqld process. How can I mimic the Activity Monitor in ...
2
votes
3answers
851 views

Get Ctrl+Arrow to work under tmux+urxvt

I have tmux command key as C-a. C-Left/C-Right to jump between words (or whatever it is called) works just fine in urxvt alone, but under urxvt/tmux it'll print '5D' and '5C' for Left/Right ...
0
votes
1answer
900 views

Terminal not listing Applications folder

The problem that I am running into is that when I cd into my Applications folder and try to ls to see all my folders it doesn't show anything. This is the only directory that does this as I am able to ...
0
votes
2answers
48 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. ...
1
vote
1answer
30 views

preventing vim from destroying screen's scrollback buffer

when not using gnu screen, vim exits without littering my scroll back buffer. It vanishes, and all i get is a new bash prompt. everything that was on the screen before starting vim is there. when its ...
1
vote
1answer
55 views

How to use OS X's terminal to ping an IP using the latency as a stopping condition for a loop?

What I'd like to do is to ping an IP while the latency is above an specific value. I think an example will help: Let's suppose I have the following result to the "ping *IP here*" command: PING *IP ...
1
vote
2answers
373 views

DTerm: How to open into iTerm2 rather than Terminal.app by default?

In DTerm, one can open a full terminal application by typing ⌘-↩ after a command entered at the DTerm prompt. In a recent release, it is noted that support has been added for iTerm2 in DTerm via an ...
16
votes
4answers
34k views

Exit SSH session in OSX Terminal

I connected to a server via SSH in Terminal (OSX), but now anytime I open Terminal, it logs me back in. If I logout, I cannot type anything or do anything. How do I exit back to the regular terminal ...
0
votes
1answer
28 views

How to resume execution after pressing pause/break key in windows command line

Whilst compiling a rather huge python extension in cmd with the command pip install. I wanted to pause and look at some of the output, so I pressed the Pause / Break key on my keyboard. Pressing ...
0
votes
3answers
62 views

mapping jj to escape in macvim works but not in terminal vim

In my vimrc I have: inoremap jj <ESC> Using the latest macvim I can hit jj and i'll jump from insert to command mode, but using the same vimrc with just regular vim in iterm2 it just inserts ...
36
votes
2answers
4k 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. ...
59
votes
7answers
29k views

Using Ctrl-Tab to switch between tabs in Mac Terminal.app

How can I make Ctrl-Tab and Ctrl-Shift-Tab switch between tabs in Terminal.app on a Mac (OS 10.4 and 10.5 specifically)? This is how I switch tabs in Firefox and Aquamacs, and Command-Shift-[ and ...
4
votes
2answers
9k views

Trying to unzip a file, 'Filename not matched' when the directory exists

While trying to unzip a file named Joomla_3.0.3-Stable-Full_Package.zip to the directory named joomla I get filename not matched. Why is that? [root@Feddy Joomla]# unzip -Z ...
5
votes
1answer
261 views

Tmux doesn't respond to scroll in OS X Yosemite Terminal

Recently, I updated to OS X Yosemite and was delighted to find out Apple has added mouse support to their Terminal app. This works great in a standard Terminal window scrolling through my history and ...
19
votes
7answers
18k views

Keyboard shortcut to jump between tabs on OS X Terminal

In OS X Terminal.app, if you open new windows, you can easily switch between them with Cmd-1, Cmd-2, Cmd-3, etc. You can also cycle between tabs, using Cmd-Shift-{ and Cmd-Shift-}. (or Cmd-Shift-Left ...
1
vote
1answer
919 views

Is there any way to undo edition of command in Linux (Ubuntu) terminal?

Is there any way to undo edition of command in terminal? E.g. I have a long string which I edited before running a command, and I want to undo some of those edits before pressing ENTER.
0
votes
0answers
19 views

Running terminal command on all files in folder? [duplicate]

I need to convert 500+ .xlsx files to .txt (or .csv). To do this I found this. It works well if I write the command like this: xlsx2csv fileA.xlsx fileA.txt I have however been unable to run the ...
0
votes
0answers
20 views

Is there a shortcut (missing?) to move tab in xfce4 terminal app?

Using xfce4 in a Debian/Linux Jessie/Sid distribution, I am unable to find or set shortcut to move tab position in xfce4 terminal, like Ctrl-Shift-DgDown/PgUp in gnome terminal. This is really ...
3
votes
2answers
4k views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
0
votes
0answers
9 views

Change the prompt on all xfce-terminals only

I have two terminals installed, gnome-terminal and xfce4-terminal. I would like to have only the xfce terminal showing a simple > as prompt when I start it. The gnome-terminal should remain ...
-1
votes
1answer
41 views

How to install the Windows 10 Preview to another Partition

I have a Windows 8.1 laptop but I want to use the Windows 10 on another partition so I don't screw up my files on Windows 8.1. I tried EasyBCD but when I booted to it, it took me to a terminal with ...
1
vote
1answer
34 views

Possible to get a bash script to accept input from terminal if its stdin has been redirected?

Say I've got a bash script: #!/bin/bash read -p "Gimme some stuff: " stuff echo "**${stuff}**" If the script is invoked with something piping into it, such as: echo "Here's some stuff" | ...
0
votes
1answer
20 views

OSX: Terminal - Custom shortcut key combo?

Any way to create a custom keyboard shortcut key (such as ctrl+cmd+k long as the shortcut key isn't taken already) that would store say a large snippet of text without having to download any extra ...
0
votes
0answers
26 views

Can't get vim to display colorschemes right

After reading everything that I could find form google... I still don't have a solution. OS: Arch Linux Terminal: rxvt-unicode The output of command: tput colors is 256 (Shown in the image ...
0
votes
1answer
25 views

Left click not working Arch Linux KDE

I run Arch-Linux on a Intel i3 processor w/ x64 architecture. I installed arch Linux and other than gdm failing and preventing me from booting, it went pretty smoothly. For the longest time, I used ...
0
votes
3answers
24 views

How to avoid .git when search for a string using grep

I am trying to make a search in a folder for a string using grep. grep -r "word" . But it is including a search in .git files which I would like to avoid. Thanks
0
votes
1answer
38 views

Why is NSLookup returning more than one record?

I am doing an NSlookup on my OSX machine and getting more than one record. 174.0.100.24.in-addr.arpa domain name pointer my-machine.domain1.domainname.com. 174.0.100.24.in-addr.arpa domain name ...
0
votes
1answer
33 views

What could cause HostName in command line to display differently?

I am on OSX, and my host name in the preferences panel reads "User's Computer Name" but when I go to my command line it is reading: something else:~ myusername$ My understanding is the first part of ...
0
votes
3answers
2k views

Are there any terminal emulators written in Java? [closed]

I'm looking for a terminal emulator that does the same thing as gnome-terminal or konsole, except written in Java.
0
votes
0answers
24 views

What happens if your terminal closes unexpectedly while SSHing?

When I SSH into another machine and my terminal closes unexpectedly, what happens to the SSH connection? How is it different from how it works with typing the exit command?
1
vote
1answer
28 views

Play sound alert on any activity in Putty window

I've a putty connection open on my windows box and I'd like Putty to notiy me on any activity in the terminal (I'm running tail -f on a log file). How do I achieve that? Putty isn't necessary in that ...
1
vote
2answers
73 views

Open iTerm and run Vim from a directory in Finder (OS X)

Is it possible (maybe with Apple Script or something) when I'm in a folder in OSX's finder to open iTerm and run vim with this folder as the working directory? This would be useful to quickly create ...
0
votes
0answers
12 views

How to know the file size information and download progress indication in iterm2 terminal?

Sometime when I download any file from terminal there is no indication of how small or big file and no progress bar to know the progress. Is there a way to get these features?
1
vote
2answers
51 views

How do I break out a DB-9 or DB-25 serial port from a PowerBook-G4 or even a more modern MacBook Pro

Essentially, we would like to interface to an external device which conforms to a serial DB-9 type hardware interface (or DB-25, because we have a crossover cable for that), and all we have are Apple ...
0
votes
2answers
234 views

How to paste a tab into OS X Terminal from clipboard?

Tabs are getting removed from text that I paste into the Terminal. Any suggestions? An example of my use case is to paste sections of TSV files into a remote ssh session terminal, bypassing the ...
0
votes
2answers
360 views

How to copy/paste tab characters via the Clipboard into terminal session on gnome / ubuntu

How do i copy text that includes tab characters from a text editor, let's say gedit into a terminal session on ubuntu/gnome? I am on ubuntu 12.0.4 using gnome classic. UPDATE This same issue ...
0
votes
1answer
29 views

Stop syslog messages from being sent to all open terminals

We have a hardware problem on one of our servers, and the kernel is continuously spitting out messages like this: kernel: EDAC MC0: UE row 0, channel-a= 0 channel-b= 1 labels "-": NON-FATAL ...
1
vote
2answers
203 views

Find available ids lower than 500 vis dscl

How can we write a script around dscl to loop over the currently listed IDs in use and then spit out the first id under 500 that is not in use yet? Update # 1 (Feb 17th 2013) I found some very ...
3
votes
2answers
1k views

Terminal blank, .bash_profile broken

I was following a tutorial for configuring OS X Mountain Lion and somehow after editing the bash_profile I can't run the terminal properly. The terminal starts just fine but is blank, if a wait long ...
0
votes
1answer
26 views

ubuntu terminal — how to get back prompt after message that takes away prompt?

I'm doing something in terminal on ubuntu. I have a message like "please ask your system administrator to enable user sharing." Ok, great. Thanks ubuntu. But when I press enter, it goes to a new ...
0
votes
0answers
15 views

Email backup from terminal without rc file

I am looking for an application that I can use to backup all my different IMAP accounts. It needs to be done from the Linux terminal so that I can script and schedule it using cron. So far I have ...
3
votes
2answers
556 views

How to create a file and insert a line in it using OS X terminal

How can I do the following using the terminal on OS X? Create a file named .inputrc in a user's home directory and put this line in it: set completion-ignore-case On
0
votes
0answers
10 views

Program to perform custom mapping of ANSI colors to TRUECOLOR?

Does anyone know if there's a console application that can intercept output from other apps and translate ANSI colors into desired TRUECOLOR values? This would provide similar functionality to ...
2
votes
1answer
4k views

Run Safari from terminal with given URL address without open command

I'm having trouble with opening Safari from terminal. Command I tried is /Applications/Safari/Contents/MacOS/Safari http://www.example.com Safari opens and tries to navigate to the url: ...
0
votes
1answer
105 views

How to use curl behind a McAfee Web Gateway?

curl seems to get some URLs just fine, while others get blocked with a response that indicates authentication is required and a valid cookie is missing. I can download the same URL in Chrome. No ...
1
vote
1answer
86 views

“ffmpeg: command not found” - But it's in the current directory? [duplicate]

I'm trying to convert some .png files I have into a movie using ffmpeg. I'm using the tutorial: http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/ The ...
0
votes
0answers
25 views

permission differences from mac finder vs terminal ssh

I am hoping that some of you Super Users can help me. I am working in an unix environment. /g/typas/Manuel>uname -a Linux submaster 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 ...
0
votes
1answer
36 views

Set different locale in terminals and KDE

My environment I'm using ArchLinux with KDE. What I'd like to do What I would like is to have KDE in my language (fr_FR) but all the terminals and tty in en_US (for debugging and having the same ...
0
votes
2answers
25 views

Why arrow actions ignore in mac os terminal using ssh?

I use ssh connect to debian using mac os terminal. So I have this issue if I "press up right down left": $ ^[[A^[[C^[[B^[[D at the same time everything ok in local terminal. Esc+, Option+ and ...