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

0
votes
0answers
17 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
31 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
32 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
39 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
144 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
59 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
75 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 ...
0
votes
1answer
32 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
36 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
66 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
31 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
65 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
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 ...
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
42 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 ...
4
votes
2answers
238 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
36 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
28 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
35 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
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
34 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
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
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
30 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
80 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
13 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
270 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
45 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
32 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
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
52 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. ...
5
votes
2answers
521 views

LSOpenURLsWithRole() failes with error -10810 on Yosemite from within tmux

Trying to open an application from the commandline (terminal.app), inside tmux (installed through macports, version 1.9a), and getting the following result: $ open /Applications/Adobe\ Reader.app/ ...
0
votes
1answer
27 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 ...
1
vote
1answer
56 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 ...
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 ...
1
vote
1answer
107 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
26 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
0answers
11 views

Terminator - how to split and decide where the new terminal goes

$ apt-cache show terminator Package: terminator Version: 0.97-4 When splitting the terminal horizontally, the new terminal, by default always comes at the bottom. Would it be possible to have this ...
1
vote
0answers
101 views

Rendering of unicode symbols in urxvt (height / width) vs. gnome-terminal

gnome-terminal renders the unicode symbols (arrows) in my prompt different from urxvt: They are displayed across the whole line's height, have less spacing in-between, but more appropriate ...
0
votes
0answers
22 views

How can I setup OS X's terminal.app to perform the correct actions for the ctrl key?

These are the key mappings i'm looking for: Ctrl+← : jump one word back Ctrl+→ : jump one word forward Ctrl+del : delete one word I want to do this by modifying the mappings in the ...
0
votes
2answers
26 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 ...
0
votes
0answers
28 views

Does wget download files more than once?

Suppose there is a website where Page A links to Page B and pages A and B both link to page C. Somthing like A -> B -> C | v C If I run recursive wget on A to begin downloading the pages ...
0
votes
1answer
37 views

Terminal emulator with bookmarks/history of commands/directories?

I work a lot with the command line (GNOME Terminal + Bash). I would love to have an easy/graphical way to use [bookmarks|history] of [commands|directories]. For example, I would like to have a list ...
5
votes
1answer
3k views

Access iCloud Drive via terminal

OS X 10.10 was just released, and one of the features I personally awaited the most was iCloud Drive. Unfortunately, I had to learn that it was not as accessible as Dropbox. file ~/Dropbox ...
0
votes
0answers
52 views

ssh sessions becoming unresponsive, server still shows user logged in

I have been having this problem with several servers that I manage. I log in via SSH and leave my terminal window open for an hour or so while working on something else. When I bring the terminal ...
0
votes
1answer
28 views

Confirm a tmux option is set

I am having the problem described in this related question and this one. Summary When I have a tmux pane that outputs a serious amount of text, tmux becomes unresponsive. All tmux commands are ...