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
1answer
3k views

SSH - is this the correct way to forward agent?

I have checked many results but not getting exactly that what I am doing for agent forwarding is correct or not. Please advice. I have followed this two links Github unixwiz What I am doing is: ...
2
votes
0answers
36 views

Cannot import colour presets into iTerm 2

Long time user of the standard terminal, short term user of iTerm 2. I've found a colour preset I want to use, however after importing them when I select them from Preferences > profiles > load ...
2
votes
3answers
37 views

Is there a way to copy text in htop on Mac OSX?

I wanted to copy all of the process information related to a specific program/software (Adobe in this case, other ones in the future) and so I tried holding Shift as mentioned here: Is there a way to ...
2
votes
1answer
34 views

How to avoid terminal to scroll down to last message in bash?

I write a bash script that run some other commands in new terminal: #!/bin/bash # Sample script gnome-terminal --title="blah blah" -x bash -c ffmpeg -i udp://239.1.2.1:60001?fifo_size=50000000 -...
0
votes
0answers
127 views

In Debian XFCE 4.10, how do I change the default Terminal shell from dash to bash?

I have a Debian-based Linux system (Kali Linux) running on AWS with the XFCE desktop environment. When I click on the "Terminal" icon in the application selector at the bottom of the screen, the ...
0
votes
1answer
32 views

Makefile issues with interactive shells started as a target

Currently having a weird problem: Got a Makefile to get some handy shortcuts inside a Project: shell: docker exec -it $(web) sh ... ..which basically invokes an interactive shell inside a ...
1
vote
1answer
48 views

How can I control my minecraft server when I run it at boot with a rc.local script?

I have a question your you guys. I'm running a MC server so far so great. In order to make it autonomous I run it at boot with a bash script load in rc.local, simple. #!/bin/bash cd /home/minecraft ...
0
votes
1answer
28 views

Shortcut or Terminal Command to toggle Chrome Hardware Acceleration on/off

I'm trying to figure out how to create a shortcut or a terminal command for on/off Hardware Acceleration in Advanced settings of Chrome Browser on a Mac. Has anyone done this already or know how to? ...
-1
votes
2answers
3k views

What is the simplest device that can remote-desktop connect to various Windows PCs on a LAN?

It needs to have video, audio, mouse, keyboard and network connectors and to support nothing more than connecting remotely to various Windows PCs that will have all the real resources needed. Sort of ...
-1
votes
1answer
31 views

Why is it eating a letter every other run?

When I run this code on the terminal: for ((j=0;j<29;j++)); do echo "ffmpeg -r 288 -i \""./out "$j"/out.%04d.jpg"\" -f gif ./gifs/"$j".gif;" done And I copy and paste the output on the terminal, ...
2
votes
3answers
54 views

Is it possible to assign a keyboard shortcut to a certain command in windows explorer?

Here is my use case. Often I browse directories in windows explorer and find myself in need to open the gitbash at the current directory. Now git bash comes with a nice context menu entry but ...
21
votes
3answers
3k views

Move a program started in GNU screen out to another terminal

I want to terminate an instance of GNU screen whilst preserving the process running inside it. So I opened my regular terminal emulator program and executed screen. Then I used that instance of ...
1
vote
0answers
37 views

Error when trying to exit terminal emulator

Background I run zsh by default, and spend most of my day logged into a terminal. My workstation and all of the servers I interact with on a daily basis are Linux-based, and I either use zsh or bash ...
0
votes
0answers
52 views

Mac OSX Terminal - change background color on login to different server

I have a Mac OSX Yosemite and use terminal. I know how to open a new terminal window with a different profile/appearance. My favorite is "Pro" with the black background. It would be very convenient ...
1
vote
1answer
60 views

Speed Up Rate of Text To Speech via Terminal

I used to have my TTS custom set to read things back nice and fast, works better for me as I'm basically ADD & mildy dyslexic. Now I'm not much of an expert like most of you on here, but I've ...
1
vote
0answers
44 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 ...
1
vote
1answer
26 views

How come my disk utility shows that more space is being used compared to my terminal/OmnidiskSweeper? What is the hidden space DaisyDisk shows?

I have a 120 GB apple harddrive. Disk utility shows there is 119.36 GB being used but my terminal (as well as OmniDiskSweeper) only finds 104 GB. Even though I am administrator, I understand there is ...
0
votes
1answer
270 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
85 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
32 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
15 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
104 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
21 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
41 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
34 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 ...
1
vote
0answers
26 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
35 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
20 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
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
32 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 111.111.111....
0
votes
1answer
18 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 PATH="/...
1
vote
0answers
86 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
41 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
72 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
33 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
163 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 auto-...
0
votes
0answers
48 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
35 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
46 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
122 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
37 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
51 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
61 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
45 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 ...
1
vote
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
48 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
37 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
21 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
68 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 \"$...