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
12 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".
1
vote
1answer
27 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
17 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 ...
1
vote
0answers
81 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 ...
0
votes
1answer
36 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 ...
-2
votes
1answer
52 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?
0
votes
0answers
28 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 ...
5
votes
1answer
145 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 ...
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
34 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
31 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 ...
-1
votes
1answer
43 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 ...
1
vote
1answer
65 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
36 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 ...
3
votes
0answers
44 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 ...
3
votes
1answer
51 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 ...
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
0answers
29 views

Copy currently playing file in VLC using Terminal

I would like to be able to get the currently playing file in my VLC player and copy the file into a specified directory. I would like to know how I can do this using VLC's console interface to get ...
0
votes
1answer
42 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
1answer
30 views

Keyboard shortcut to scroll Terminal one line at a time

I'm using Terminal on OS X El Capitan. I want to scroll my terminal output by lines (not using page-up or down). I'm pretty sure I used to do this with Cmd-up/Cmd-down, but now that appears to just ...
0
votes
0answers
19 views

MacOSX Terminal in TCSH shows this dialogue on startup “TERM=xterm-256color: Command not found.”

When I do echo $TERM in terminal it says "xterm-256color," so that's fine. And I know that the "xterm-256color" location is in /usr/share/terminfo/78/, so the location of the term exists. However, ...
0
votes
1answer
49 views

How do you add a spotlight comment to a folder

How do I set a spotlight comment for a folder using Bash. (Or Applescript) The following example is not working: osascript -e "tell application \"Finder\" to set comments of alias POSIX file ...
0
votes
1answer
16 views

Last tabulator (tab) character not jumping to next line in terminal

I have run into a problem. In my case it was a Lua program printing a series of numbers. Lua uses tabs as the separators, and the output came out like this in my 80-column terminal: 1 2 3 ...
0
votes
1answer
102 views

PuTTY terminal session between two windows 7 machines over ethernet

I would like to open a PuTTY terminal session on one machine which is physically connected to another machine via an ethernet cross-over cable. Ideally characters entered in the PuTTY terminal window ...
0
votes
1answer
72 views

iTerm2 fullscreen causes an empty line at the bottom

When I fullscreen an iTerm2 window, an empty line appears at the bottom of the terminal window. How do I get rid of it? Compare these two screenshots: Windowed (appears as expected) Fullscreen ...
0
votes
1answer
46 views

CentOS 7 Terminal Timeout

This seems like this question should have already been answered, but I don't see any info on google or stackoverflow. I have a VNC server running on a CentOS 7 box where I do my development. Every ...
0
votes
1answer
50 views

Using the Option key properly on Mac terminal

I want to know how to configure the ⌥ (Option or Alt) key on my Mac terminal. For example, to make ⌥+delete delete an entire word or ⌥+← move to a previous word. If I check the box 'Use option as ...
1
vote
4answers
61 views

How do I restore the ability to do Terminal commands?

I am using Mountain Lion. I added an alias to my ~/.bash_profile file, and now every time I open terminal, it displays the following: Last login: Thu Feb 11 09:50:30 on ttys000 Saving session... ...
0
votes
1answer
51 views

tmux scrollback buffer limited to current screen - scrolling doesn't show previous actions' output

After upgrading to El Capitan, my tmux scrollback buffer is limited to a single screen. If I scroll up, I can see output from Mac Terminal, but all tmux output is truncated. In the screenshot, you ...
0
votes
1answer
24 views

Detecting Terminal Tabstop Settings

I'm writing a small program that needs to wrap text to produce multi column output on a terminal screen. This is fairly straightforward, except for having to account for hard tabs, which I cannot do ...
0
votes
0answers
67 views

How to save SSL certificate in terminal without openssl?

I've got the following scenario: A service runs on server-1, calling server-2 via SSL over proxy-1 Server-2 is external and out of our scope Server-2 can only be reached from server-1 over proxy ...
1
vote
2answers
47 views

Connecting to server using ssh command in Terminal

I'm on a MacBook Pro running the latest OS and im connecting to a server in Terminal using the ssh command to connect to one of my university's servers. we connect using our username then must punch ...
0
votes
0answers
29 views

Can I force iTerm2 to always use bright colors?

What the title says. Is there a setting to make iTerm always use bright versions of terminal colors without editing the colors themselves? My OS X terminal seems to be doing that by default, and the ...
1
vote
1answer
93 views

How pause list of process in htop?

I should like stop refreshing list of process. My problem is in often refresh list. How I can do it? I use a tool htop.
1
vote
1answer
28 views

PuTTY terminal behaviour differs between two accounts on same server

I'm using PuTTY to connect to my server where I have two accounts. One account gives me a colour terminal and responds correctly to the home/end keys, while the other account gives me a black-n-white ...
2
votes
1answer
22 views

Terminal: cp -r with directories with same name and different case

I'm trying to copy around ~250Gb from one drive to another. Catch is that the destination drive is formatted in NTFS or FAT or something and isn't case-sensitive, and I've got folders I need to copy ...
0
votes
0answers
47 views

Google Chrome doesn't trust mitmproxy's certficates

I'm running mitmdump (from mitmproxy) on my Macbook Pro, and I'm connecting to the proxy through my Windows desktop PC. However, Chrome (running on the PC) refuses to connect to so many sites because ...
0
votes
0answers
28 views

mobaxterm doesn't passes correctly ctrl-shift-arrow sequences

MobaXterm doesn't passes correctly the ctrl-shift-arrow sequences. It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
1
vote
1answer
12 views

How to launch favorite tabs/directories in Terminal.app?

If I regularly work with four directories, one tab per directory, is there a way to automate Terminal.app opening these tabs/directories for me?
1
vote
2answers
113 views

iTerm2 -> ssh -> gnu screen -> split window: scroll wheel not working

I'm using Mac OS X as a workstation. With iTerm2, I connect to a remote host (Ubuntu Server) using this command: ssh -t user@host screen -D -R -R But I can't get the scroll wheel to work correctly, ...
1
vote
2answers
32 views

FreeBSD SSH terminal windows

When I run a ncurses-based tool, say nano, in a Linux/OSX SSH session and then close it, the terminal session is back with the history and everything. But if I start nano in a FreeBSD SSH session and ...
1
vote
0answers
79 views

Running `pip` gives 'command not found' after successful Python homebrew install

To preface, I am very bad with the terminal, please be patient with me. when I run pip I get: zsh: command not found: pip I have installed Python 2.7.11 with brew, which should allow pip to work ...
0
votes
0answers
28 views

Pinging mac computer on school network request timeout

I'm in the terminal on my mac and my friend (who is on the same school network as me) gave me his ip address. I try to ping , but it keeps saying "request timeout for icmp_seq0". It works when i ping ...
0
votes
1answer
39 views

Delete all images in a folder except those with defined string in title?

I have around 50,000 images in a folder (I'm using Mac OSX), and I'd like to delete all of them unless they have x300 or 300x in them. I was hoping it's possible using the terminal or automator, but ...
3
votes
1answer
37 views

How to prevent opening same program on terminal server by the “same user” with command prompt?

I have several users that use Remote Desktop App (Server 2008) and when they open the .BAT file I have created, it opens up two programs...however, I need to prevent the same program (in this case ...
1
vote
0answers
19 views

Terminal lines intermittently invisible or corrupt on Ubuntu 12.04

I am running gnome-terminal under Ubuntu 12.04 and I have a weird problem that I haven't managed to find any info on. Whenever I type a command, the resulting output is frequently - but not always - ...
0
votes
1answer
32 views

Transfer file from local machine to port forwarded machine

I have to transfer a file from my local machine to remote server 2 from remote server 1. I have port forwarded the remote server1(Amazon Ec2) port 2222 to remote server2(Amazon Ec2). I am connecting ...
0
votes
0answers
27 views

Where to download is it that I download libc.so.6 which is what the error box says i need as well

I saw a post that was similar to my question but the person who asked about it had diffrent versions on top of other problems that dont quite relate to mine. When i try to run steam it says Steam ...
0
votes
1answer
34 views

Alias command from terminal that opens a new terminal on a specific folder

I have this command already working in my .bash_profile: alias mysite='cd /Applications/sites/mysite;pwd; php artisan serve --port=9000 | open http://localhost:9000 | open -a Finder ./' So it: ...
0
votes
0answers
100 views

Brew cask uinstall does not remove installed cask

I've installed cask via brew cask install and I would like to remove it, however, brew cask uninstall cannot find it: me-bash-3.2:/$ brew cask list macdown me-bash-3.2:/$ brew cask uninstall macdown ...