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
1answer
40 views

Complex alias command

I am trying to create a complex alias. I have a lot of servers I have to ssh to and writing the entire command is quite annoying some times. I created aliases for every machine: alias ...
2
votes
0answers
72 views

focus to newly opened terminal

I am using gnome-shell 3.14 on archlinux 3.17.3-1. I have a keyboard shortcut (ctrl+alt+T) to open an xfce4-terminal. My issue is that when I triger this shortcut the focus is not set the the newly ...
1
vote
0answers
20 views

Tracking down rogue terminal windows in OS X

I use iTerm 2 on OS X and suspect I may have a bunch of terminal windows running in the background and I would like to find and close them. When I open a new terminal window my CL looks like this: ...
0
votes
1answer
36 views

How to separate Vim themes for LUI and GUI with same general configuration?

I like twilight theme for my Vim, but this theme has 2 major versions, twilight256.vim dedicated for terminals and twilight.vim designed for graphical interfaces. I just wondering how to separate ...
0
votes
1answer
25 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
0
votes
1answer
528 views

Cron won't run my root script

I am on Ubuntu 14.04 (using Digital Ocean) trying run a script as root. It's a script to check if a server is running and restart if it has crashed. The issue isn't the script, but crontab won't run ...
2
votes
2answers
395 views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
0
votes
2answers
78 views

linux ls -l 5th column header size units?

after I ran this command in my linux terminal, ls -l I get the information listed in long file format. Below is an example of my output: drwxr-xr-x. 10 10011 10011 4096 Oct 14 18:51 ...
0
votes
0answers
29 views

Files don't open when I double click them. They will if I right click and select open

I changed my dot files to open with Sublime Text 3 instead of Text Edit. It sort of worked. I have to right click on them and choose open. They will not open by double clicking. Sublime still ...
0
votes
1answer
69 views

“broken pipe” after every terminal command

I’m running Mac OS X 10.10 (Yosemite) with iTerm2 and Oh-My-Zsh. After every command I run—even if the command is successful—I receive the error “broken pipe.” How can I troubleshoot what is ...
0
votes
1answer
95 views

Damaged preference file in /bin/sh

Today in Drive Genius 3, I ran the “Verify Preferences” function in Repair. It yielded this strange result: /bin/sh: xargs: command not found The only option Drive Genius gives is to remove the ...
0
votes
1answer
31 views

Are mysql records able to be accessed through terminal navigation?

By terminal navigation I mean being able to cd and ls through the file system From what I gather, all data storages have a file system (example: ext4) to manage your datastore. A terminal can expose ...
0
votes
1answer
45 views

I have a ~/.cshrc file that is sourcing another file, which should source an additional file but is not

I recently inherited an administration role for my lab and I'm still fairly new to this... so hopefully this question makes sense. Our system is set up so that one server hosts the data/user ...
0
votes
1answer
25 views

Sliding, docked Terminal window in OS X

In this video the author has an ever present Terminal window which he can hide (sliding to the bottom) and pull up with a hotkey or something. Does anyone know how to achieve this? It could greatly ...
1
vote
2answers
591 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 ...
0
votes
0answers
22 views

Cygwin terminal jumps into vi-mode when using back arrow, bug or config issue?

I'm new to Cygwin64 on Windows (Vista) and still working through optimizing the environment--while using it. I've already resolved Cygwin VIM editing issues by adding ~/.vimrc. In this problem, Cygwin ...
1
vote
1answer
337 views

GNU Screen/tmux equivalent for Windows for remote text console (not GUI) connections

Short question: is there any terminal multiplexer that runs in a Windows CMD shell? I suppose PowerShell could be enough too. Complete question: I have a Windows 7 SP1 on a powerful computer ...
0
votes
1answer
51 views

Running ZIP Process in Background in CentOS

How can I run the following command/process in background immediately after starting it: zip -r file.zip directory/* What I actually want to do, is to run the zip process working even after ...
0
votes
0answers
18 views

Why does the “last” command wipe its log every time I run it?

I manage a Mac OS X 10.8.5 server and use the last command to check who’s been logging in. However, about three weeks ago, I noticed that every time I would run it the log would clear itself. It ...
1
vote
2answers
66 views

Terminal window scrollback buffer using screen utility

I am used to using screen on UNIX (AIX/Solaris) at work. I've installed it on my two home boxes running Ubuntu and Debian. The only difference I notice is that when I scroll up in the terminal window ...
0
votes
1answer
112 views

Can I convert the font and SVG to base64 via offline OS X and Linux terminals?

I know how and I can convert the images to base64 via OS X and Linux terminals. But I'm not sure if I can convert the fonts and the SVGs to base64 via offline OS X and Linux terminals. I don't know ...
1
vote
2answers
90 views

How to redirect stderr of python3 script using tee pipe?

I am a Debian and RedHat user. I would like to redirect stderr (module logging) from a Python3 script. The script outputs a lot of things and the part I want to capture can be fetched using: python3 ...
0
votes
1answer
542 views

How to set environment variables for a terminal application on OS X Yosemite?

I am trying to make ABD tool to work in my terminal and I found that the likely reason why I get the command not found warning is that I need to set the environment variable's path. I found that I ...
0
votes
1answer
195 views

Bind keys over SSH to switch tmux tabs

I typically have 4 or 5 tmux "tabs" (aka tmux windows) open. They are created by pressing Control+B, C In many applications you can Control+Tab to switch between tabs (or internal windows, or ...
0
votes
1answer
445 views

How can I resolve the error “cannot execute binary file”? [duplicate]

I'm trying to test my installation for Pickit 2 on my Mac for the first time and when I put in: pk2cmd -?v I get: -bash: /usr/local/bin/pk2cmd: cannot execute binary file How do I resolve this ...
2
votes
1answer
115 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 ...
1
vote
1answer
97 views

Print TTY Stream to Terminal

I have a usb device. The driver for said devices sets up a ttyUSB0 stream for interfacing with the device. I am trying to understand how the data from this device is formatted. Is it possible to ...
1
vote
0answers
171 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 ...
1
vote
1answer
45 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 ...
0
votes
3answers
119 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 ...
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
22 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 ...
0
votes
0answers
36 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
113 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 ...
6
votes
3answers
558 views

Unable to launch application in tmux

I get this error when I try to launch Sublime Text or SourceTree from tmux: $ subl Unable to launch Sublime Text 2 $ stree Unable to open SourceTree It seems that I can't open os x apps either: $ ...
1
vote
1answer
133 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
25 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
38 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
88 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 ...
1
vote
2answers
69 views

Unknown characters in LXTerm terminal on Arch linux

I am trying to learn node.js using the learnyounode node from http://nodeschool.io on an arch linux machine running LXDE. I am using the bundled LXTerminal to execute it. However, when I run it, see ...
0
votes
1answer
46 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
50 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 ...
1
vote
3answers
31 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
0answers
29 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
91 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
258 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
18 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?
5
votes
1answer
604 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 ...
0
votes
1answer
96 views

Cannot find downloaded file after SFTP “get” command

I am using SFTP to download files from a server. It connects to the server fine and when I enter ls it lists all the files I am looking for. When I get to the: sftp>, I enter: get [FILENAME] and ...
0
votes
1answer
129 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 ...