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
2k views

Could not find a configuration file for package “ECM” that is compatible with requested version 1.5.0

I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version ...
1
vote
0answers
18 views

Select full word in iTerm2 using alt + shift + arrow

Following this advice, I've configured Iterm2 to delete the word when Alt + Backspace. I would like to build a similar functionality for combinations of Alt + Shift + ← | →. With respect ...
0
votes
1answer
108 views

Mac terminal error -bash: command not found - El Capitan 10.11.13

I'm getting an error message when I first open my Mac terminal - -bash: Applications: command not found Oddly (or maybe not so oddly), when I open another tab, I sometimes get a different error - ...
0
votes
0answers
36 views

How to install fonts on Ubuntu with terminal without moving files

I need to programmatically install fonts. I need to do this without changing the directory the font file is in. I need to do this with Terminal on Ubuntu 14.04. Clicking the install button, installing ...
3
votes
1answer
18 views

How to autocomplete hyphenated directory name in OSX terminal?

I have this set of folders on 2 macbooks both running the latest version of El Capitan. foo-bar foo-bar2 On one system, hitting tab after cd f gives me cd foo-. On the other system, I get cd foo. ...
0
votes
0answers
39 views

Set terminal title host computer according to commands/PWD in SSH session

I found a nice .bashrc function for setting terminal title according to the currently running command and modified it slightly to fit my preferences: # Set terminal title in the format "running ...
2
votes
2answers
1k 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
0answers
12 views

Detailed list on double tab (autocompletion)

When I hit tab twice on the terminal when browsing through directories / files; it generally shows me a list of the matching files in the dir as if I'd typed ls - is there a way of changing it to show ...
1
vote
3answers
50 views

OSX Terminal: How to figure out network connection is WIFI or LAN?

Is there a way to find out how the system is connected to the internet using Wifi or LAN?
0
votes
0answers
20 views

GNU Screen gives odd linewrapping behaviour for terminal applications

I followed these instructions to set up GNU Screen to run two terminal applications on Computer A, then connected to them from Computer B. However, on Computer B, I seem to get strange linewrapping ...
-2
votes
1answer
24 views

Start program from terminal as sudo but detached for further terminal use

Yes another question for detached programs from terminal, but before you start flaming me, i have searched over the net but none of the answers matched my search. How do I detach a process from ...
0
votes
0answers
28 views

Keyboard event: 'k' behaves as dead key

I have a really strange problem. My letter 'k' behaves like a dead key (like an accent) in the terminal (KDE Konsole, xterm). It behaves normal when using vim or graphical programs like firefox. In ...
0
votes
0answers
53 views

Why or where is `set -o emacs` overwritten in my Mac OS's Terminal running Bash?

I have set -o emacs at the end of my .profile, which gets read whenever I open a new Terminal window. Terminal runs the default login shell, which is Bash. However, I still get: ~ set -o | grep ...
1
vote
0answers
19 views

How can I backup my files in this situation (recovery mode)?

My disk has been corrupted and has forced me load osx in recovery mode. Going to disk utility, I've tried verifying an image which needed repair. After attempting to repair, I've gotten to the ...
0
votes
0answers
33 views

Start router via RJ11 port and cable

What commands one need to send to a router, with the RJ11 cable in a RJ11 port to imitate a broadband connection?
0
votes
0answers
15 views

Open files by directly clicking over directories outputed in terminal like hyperlink

I'm gonna ask by citing an example of what I'd like to do. I as a user of terminal (Linux or MacOS) would like to do the following: When I'm over terminal, when I click over any file's ...
1
vote
1answer
202 views

(n)curses displays appear broken under iTerm2

When accessing any of the *-tui commands under CentOS/Red Hat, or any equivalents on other distributions, my display is completely broken and almost unusable. This is what authconfig-tui running ...
1
vote
0answers
11 views

Remap key in mobaxterm

Currently ⇧ Shift + ⌫ Backspace returns ^H in my linux console. How to remap this to CTRL + ⌫ Backspace? I use the newest version of MobaXterm "Personal Edition 8.6".
48
votes
3answers
56k views

How to find files with certain text in the Terminal

I'd like to find all files that contain a certain string of text. How would you do that in the Terminal?
5
votes
1answer
135 views

OS X copy paste into Terminal adds fdbf bfb9 b083 to beginning and end of selection

For the life of me, I can't figure this out. When using a browser (doesnt matter which), if I select text, then paste in Vim or Neovim or Nano, I see characters added to the beginning and end of my ...
2
votes
1answer
140 views

Prevent mouse over to give focus in ConEmu

In ConEmu, when I have multiple pane active, if I move the mouse cursor over one of these panes, they are going to get the focus (even if I don't click on them). Is it possible to disable this ...
7
votes
2answers
5k views

Cannot type any special character or umlaut in terminal

Environment: I am using Ubuntu 11.10 with wmii 3.9 as GUI and uxterm as terminal with bash as shell. The hardware is a Lenovo ThinkPad W500 with a Swissgerman keyboard layout (thus I need umlauts). I ...
1
vote
1answer
24 views

Making an alias to add key to remote authorized_keys file

Generally when creating a new web server, in order to login via SSH without having to type in a password, I would add the host to my ~/.ssh/config file like so: Host foobar HostName ...
0
votes
1answer
15 views

Setting up mysql in path on OSX so it's included everytime I open terminal

I have installed mysql on my OSX 10.11 and I want to run it from the terminal, so I need to add it to my path. I have created a .bash_profile file in my home directory with the contents export ...
3
votes
1answer
48 views

Why is GNU screen interfering with Vim's Ctrl-Pageup to switch tabs?

I normally use Ctrl+PageUp and Ctrl+PageDown to switch tabs in Vim. But when running Vim inside GNU screen, they don't switch tabs and instead have the effect of switching case. I am running the ...
33
votes
1answer
32k views

How to send the escape character on OS X terminal?

Connecting with telnet looks like this: $ telnet some.host Trying 10.1.2.3... Connected to some.host. Escape character is '^]'. I'm running this on the OS X Leopard terminal. Question is, how do I ...
17
votes
10answers
74k views

How to create an ssh connection Terminal shortcut on Mac OS X 10.6.8 (Snow Leopard)?

It sucks to open Terminal each time and write a complete SSH command. How can I create an SSH connection Terminal shortcut on Mac OS X 10.6.8 (Snow Leopard)? I also have a custom port to connect to.
0
votes
1answer
40 views

Dumping current .zshrc from terminal

I've wanted to make quick edit in a .zshrc, but vim said that it can't be written or something. So I quit, with :q!. Then I wanted to reopen this file... and it was empty. I still have terminal open ...
1
vote
0answers
62 views

xterm translations: sending multiple keys

I'd like to utilize the multimedia keys on my keyboard in my xterm/tmux. I'd like to map the XF86Launch8 to the keys C-a F1 (ctrl-a being the tmux prefix key, the press F1, which is mapped in tmux to ...
6
votes
2answers
10k views

Read all of the terminal command history in OS X

It would be great to access all my commands run in terminal on OS X so I can review and use as a running reminder sheet. I'm using Reverse-I-Search prompt, and have updated my .bash_profile to store ...
2
votes
1answer
2k views

Horizontally split-screen with two programs?

I have two programs A and B. I want a single command, which will run Program A and Program B in two different terminals but in the same tab, i.e, in a horizontally split terminal. I know screen can do ...
0
votes
1answer
32 views

linux terminal remove colours and syntax highlighting

My question: How do I use terminal with white text on a black background that doesn't use bold, italics, underscores? Info: I'm currently setting up my linux terminal (ubuntu, bash). I found ...
16
votes
1answer
27k 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 > ...
16
votes
1answer
17k views

How do I use Split in the Mac OS X Terminal to split files directly to another directory?

How do I use the OS X Terminal command split to split a file into several pieces, and store them in a different folder, on a different drive? The reason is that I need to move files to a FAT32 ...
0
votes
0answers
25 views

Weird output when setting zsh prompt

I am setting my zsh prompt to be % by setting the BULLETTRAIN_PROMPT_CHAR variable in my .zshrc file but when it starts up the prompt is %f. I have tried \% and it still does the same thing. Note I am ...
-2
votes
1answer
46 views

How to get php 7 on mac?

I want to upgrade my php from php5 to php7. I want to do it through the terminal and I just cant figure out how. Does anyone have a step by step guide on how to do it?
1
vote
2answers
4k views

How to clear all entered commands in Terminal?

How does one clear all the entered commands in terminal? I am not talking about the clearcommand, which merely clears the screen. I want to clear all the commands that I have entered , so the window ...
1
vote
0answers
9 views

Is there a Mac OS X terminal application which will autocomplete commands available within a program? [duplicate]

I apologize if this has been asked before, but I've done some searching and haven't been able to find anything. I have recently installed Fedora 23 and I've noticed the terminal application does ...
0
votes
0answers
23 views

Get color output when running a local script through SSH

I am trying to run a local script over SSH and still receive colored output from the remote execution, as if it was a tty. To put it simply: $ ssh -t somehost 'if [ -t 1 ] ; then echo terminal; else ...
-1
votes
1answer
30 views

drop database via bash with dash in database-name

I have a variable in a script with the list of folder names with dash in their names DBDIR="some directory" dbdash=`ls -l $DBDIR | egrep '^d' | grep '.-.' | awk '{print $9}'` And I want to drop ...
9
votes
3answers
7k views

Applescript to open a NEW terminal window in current space

Yes, I'm having a terrible newbie experience with Apple Script. I need to open a new Terminal window in the current desktop space. NOT move me to another space which has a Terminal running and then ...
1
vote
3answers
2k views

Mac OS X Terminal: How can I make my pico editor syntax highlight?

I recently changed my Mac OS X Terminal colors. How can I enable syntax highlighting for pico? Or any editor in general?
-1
votes
1answer
41 views

Is there a terminal app for Mac OS X that makes URLs clickable? [closed]

I would like to find a terminal app for Mac OS X that automatically turns any URLs in the text into clickable links. I seem to recall that one of the default ones in the Gnome desktop for Linux did ...
0
votes
1answer
44 views

Bash not auto-completing filenames

I am on mac os and using default terminal, i.e. Bash. I am quite new to command line and simply trying things out. For now, I am simply trying to cd into a directory and play a mp3 file there. I cd'ed ...
0
votes
2answers
3k views

Need a sample script to perform an automated action on a Cisco router via ZOC SSH

Does anymone show me a script sample using the software "ZOC Terminal" (version 6.2) to perform an simple automatic action on a router, let's say a reboot or change of daylight savings time or ...
0
votes
1answer
35 views

How to stop background processes from outputting permanently?

In my newly installed Lubuntu virtual machine terminal, when I run firefox & firefox runs in the background, but it keeps on outputting in my terminal. I found a way to stop it from another ...
0
votes
1answer
36 views

Is it possible to exit from Ranger (file explorer) back to command prompt - but retaining Rangers current directory?

I am using Ranger terminal file explorer from within a linux terminal. Say I start from command prompt in home directory and launch ranger user@/home/user $ ranger ranger opens..... and within the ...
0
votes
1answer
2k views

send key combination via local network to other mac

after a other mac or macbook is connected with a mini display port to a new generation imac you can switch between the imac and the other connected mac pressing cmd+F2(brightness up) using the ...
1
vote
1answer
224 views

In iTerm2 how can I automatically connect to an existing tmux session using -CC?

I've found using iTerm2 and tmux -CC to be quite helpful tying the existing iTerm UI with tmux windows & panes. I'm trying to figure out how to automatically attach to an existing session at ...
3
votes
0answers
38 views

Different line spacing depending on font encoding

Historically, I've been using Monotype Courier New as my XTerm font (it displays well both Cyrillic characters and box-drawing characters). When migrating from legacy KOI8-R to UTF-8 locale, I've ...