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
2answers
101 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
0
votes
2answers
52 views

How to display time in terminal instead of username@hostname?

In Ubuntu terminal you see: someone@workstation: as the prefix of each line. Is it possible to have the time displayed on each line? [current time]someone@workstation: The time will keep ...
0
votes
1answer
59 views

bash directory name with a space in CDPATH

I'm trying to set a shortcut so that I don't have to type a really long directory name so often. In ~/.bash_profile, I am doing something similar to: export ...
1
vote
2answers
77 views

Open a new terminal using a keyboard shortcut

I want to be able to open a new terminal window in OSX Mavericks by using a keyboard shortcut. The terminal window should be: New (I don't want an existing one to be focused) Opened on the desktop ...
1
vote
0answers
41 views

Xfce terminal resize not sent across ssh

I'm running into some strange behaviour related to terminal resize updates not being sent across ssh. On my local machine if I open a terminal and do tput lines I get 24. Then making the window taller ...
0
votes
1answer
71 views

Two process ids for one terminal in bash linux mint

I am running one bash terminal in linux mint. I wanted to see the process ids of running terminal. So I tried two things: ps -C 'bash' ls -l /proc/*/exe | grep bash Both of this giving two ...
0
votes
1answer
44 views

OS X: invalid option -o

When I open terminal I got the following message invalid option: -o. I cannot use /bin/bash --login because I got the same result. I think that terminal try to execute bash login which can't be ...
1
vote
2answers
55 views

bash terminal that remembers its state when restored from a crash

In Ubuntu, I use the default gnome-terminal to run my commands. I typically have a couple of windows open, each with several tabs. When my OS crashes∗, for whatever reason, and I reboot, I ...
1
vote
2answers
48 views

Message appears every time terminal is opened

On OS X Mavericks, whenever I open up iTerm (or the default Terminal), the following message appears: -bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file ...
0
votes
0answers
23 views

emacs can't handle Hyper_L modifier inside a terminal

I remapped my capslock key to Hyper_L using xmodmap. when i use the hyper modifier to define new bindings in emacs like (global-set-key (kbd "H-n") 'backward-char) it works when emacs is launched ...
0
votes
0answers
26 views

Add Ubuntu 11.04 repositories

I installed ubuntu 11.04 a few days ago. But I added the repositories which are only accessible from inside the campus. I changed the repositories to the ones suggested on this page : ...
0
votes
0answers
317 views

MobaXTerm colors are washed out - how to configure the scheme

Out of the box, MobaXTerm's rendering of the Midnight Commander screen looks like this (ZOC by comaprison to the right; PuTTY looks similar): How can I fix this? Is there some environment variable ...
6
votes
3answers
1k views

Could not create directory '/var/empty/.ssh'

Every day, after several hours of use, anything using SSH will just randomly stop working. The only solution is for me to restart my machine, which fixes it until it randomly occurs again. > git ...
1
vote
1answer
65 views

Vim crashing when pressing `ctrl-s` in terminal

When I press ctrl-s in vim running in the terminal the program crashes to the point where it doesn't even terminate when I send kill -SIGKILL <vimPID>. The process isn't listed in the output of ...
1
vote
1answer
56 views

Restore session/state in terminals

When I close my browser it remembers "state" in the sense that it remembers what tabs I have open and text that I had entered into various forms. Is there a way to do something similar with my ...
0
votes
2answers
110 views

How to exit a batch script when a command is not found

I want the terminal to close itself if adb is not recognized. ADB is a program this script will utilize to detect device. Here is a bit of my script echo My name is RomBreaker echo. echo And I'm ...
0
votes
1answer
45 views

Map key to clear mac terminal

I have a bad habit of hitting cmd+k in Mac Terminal to clear the screen (and losing my history). I'm wondering if there is a way to map the command-k combo to run /usr/bin/clear when I press it. There ...
1
vote
1answer
42 views

Launch and pass scripted commands to a Terminal script

I've got a.command, a script that waits for user entry (like typing something and then hitting return) It loops forever-ish. For example, it tells the user if their entry is a leap year, or its a ...
0
votes
3answers
107 views

Text expansion tools for linux?

I am looking for a tool that can auto-close brackets and quotes in a terminal. For example, when I type echo " It should automatically expand into echo "" and put the cursor in the middle. This ...
0
votes
1answer
36 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
0
votes
1answer
62 views

How do I access wikipedia offline from command line?

I want to open up an offline version of wikipedia from the command line with a specified article (and preferably a window size and position as well). I've downloaded wikipedia dumps in several ...
0
votes
2answers
660 views

Tmux 1.8 gives “failed to connect to server” when trying to source a file

I have tmux 1.8 on my machine, and it works correctly if I just invoke it on the command line with tmux on the command line. However, when I try to run tmux source-file <any-file>, I always get ...
0
votes
1answer
118 views

How to call python script in other folder without prepending `python`?

I have a small (self-written) python script located in, let's say, C:\dummy\myscript.py. In my Windows 7 terminal, I can call this script with either one of the following three commands. They all ...
1
vote
0answers
86 views

Can I reverse the stream direction of my terminal?

I'm not sure on how to word this question any other way but that's it. Is it possible to reverse the way your terminal prints text? For example if I type a command, I type it from the bottom of the ...
-1
votes
1answer
23 views

Is this possible to redirect the tty output to two targets?

I would like to let the tty to have two outputs. Is this possible to let the output display on two terminal? I would like to have one terminal (on Linux), which is I am working on, and ...
0
votes
1answer
44 views

Determine which session manager restored Konsole a script is running under

If you log out of a KDE session with any Konsole terminals still open, they'll be there when you log back in (unless you've configured KDE otherwise). How can any scripts running under these ...
0
votes
2answers
73 views

What are the differences between each virtual console (Ctrl+Alt F1 - F6)?

In Ubuntu, there are 6 virtual consoles, which can be accessed by pressing Ctrl +Alt + F1 - F6, and F7, to exit. What are the differences between these virtual consoles? Do they run different things, ...
0
votes
0answers
163 views

startup applications in linux mint

I'm trying to run the opendns updater in linux mint automatically on startup. And I found this page: https://support.opendns.com/entries/23554765-Linux-IP-Updater-for-Dynamic-Networks which basically ...
1
vote
1answer
87 views

Infinite loop in Terminal (ksh) to launch commands

I'm trying to create a loop in terminal to launch every second during the execution of an script the following command. I don't want to create the loop in .sh script file, i'm trying to do in the ...
0
votes
1answer
36 views

Tell me, when script has finished

Some years ago I had a small script[1] called beep-forever which ringed the terminal bell for ever. Use case: I want to know if a script has finished: do-foo-which-lasts-ten-to-thirty-minutes.sh; ...
0
votes
1answer
69 views

Removing guest account from Ubuntu 12.04 caused Ubuntu to go to terminal on startup

I have used this tutorial to disable guest account on Ubuntu 12.04. The change was basically adding this line allow-guest=false to the file /etc/lightdm/lightdm.conf And the result was that on ...
0
votes
1answer
76 views

Running qtfaststart in a folder containing multiple .mp4's

I have a library of videos, all of which need to be adjusted for web-streaming by putting the moov atom ahead of the rest of the video with qtfaststart. This allows playback to begin before the client ...
0
votes
1answer
21 views

Retrieve history on terminal (macOS)

When I use the command clear I am able to scroll up and find previous events. Nevertheless, sometimes I prefer ⌘+K (Command-K) because it doesn't pollutes my command history (up and down arrows). ...
0
votes
1answer
438 views

Location of SHA512 Haslist on Mavericks>

I'm trying to find the SHA512 hash of the user passwords on OS X Mavericks (10.9.1), I'm aware that you can get the user .plist from: /private/var/db/dslocal/nodes/Default/users/{username}.plist ...
1
vote
1answer
60 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...
0
votes
3answers
36 views

Connect to remote computer through one between (with credentials)

I need to access to remote computer and I have username and password, but I can access only from third computer ( like proxy, I also have credentials for third computer). WhenI start project, from ...
0
votes
0answers
9 views

Transfer colors from one terminal to another

So I use terminator and urxvt. In terminator my colors are just as I like. In urxvt I want to have the same colors. Is there a way to use tput or another tool to extract colors from terminator to ...
0
votes
1answer
44 views

How to start a program without interrupting my current session?

I'am working on some code or document and I need an additional program like IntellJ e.g. How can I start this program in the background without popping up and interrupting me on my work? Often I start ...
0
votes
0answers
51 views

PuTTY SSH mode has no Ctrl-Z (suspend)

When I press Ctrl-Z in PuTTY client using a Debian xterm server nothing happens. The PuTTY documentation says that ctrl-z can be configured using the Terminal panel, but only for telnet, not SSH. What ...
0
votes
0answers
45 views

How to end unix app using terminal script

I'm piggybacking on this post: How do I close an OS X application from the command line using a alias defined in my .bash_profile? I am trying this to close a unix executable. But it doesn't work. ...
0
votes
0answers
69 views

Terminal: Multi-column/Table 'ls'

When running a fullscreen terminal, ls doesn't adapt to the current terminal width and supply me with multiple column-listings of items, it always provide a single column of directory items. Even ...
0
votes
0answers
17 views

Router CLI command to change LAN IP [duplicate]

What are the possible router CLI command on changing LAN IP? I am currently setting up my load balance router with 3 ISPs. The 2 modems having the same IP. I know how to do it on GUI but I am limited ...
1
vote
2answers
192 views

Mac Terminal showing bash instead of my username

This makes it hard to know what directory I am in. I installed a version of python for school and now it says -bash-3.2$ instead of MyMacbook: ~$. I'm sure this is really simple, but I know nothing ...
1
vote
2answers
79 views

What would cause strange characters to appear in terminal ? É

I have vagrant vm running inside my mac. I accidentally redirected the output of rpm2cpio to standard out. I quickly canceled it, but now my keyboard has remapped some of the keys. ...
1
vote
2answers
95 views

how to load byobu automatically when terminal started?

I'm using Lubuntu 13.10, and I want to load byobu automatically when I open terminal. I found byobu very flexible and reliable tool and want to use every time when I have to use terminal. I couldn't ...
1
vote
1answer
218 views

Customize vim cursor style under Mac OS X Terminal

I want to customize the vim cursor to be a blinking rectangle block. I tried this and this and many other similar stuffs after some searches, but none of them works as expected. Currently my cursor ...
0
votes
1answer
93 views

osx - change terminal-color based on user

what i want to achieve : everytime i log onto a machine via ssh with a specific user -> "danger" like ssh danger@somehost i want the terminal to change its background to red, so i have a visual ...
0
votes
1answer
81 views

How can I get working directory set properly in new Terminal.app tabs when PROMPT_COMMAND is set?

In Terminal.app on OS X, you can choose the (for me) useful behavior of new tabs opening in the same working directory. On Mavericks, (and maybe other versions), setting PROMPT_COMMAND disables new ...
3
votes
1answer
88 views

Different Path Based on Directory

I am developing an application using Play! Framework version 1.2.4. So I have downloaded this and added its bin/ folder to my path. However, I am getting ready to start another Play! Framework ...
0
votes
1answer
44 views

Start tmux session with only one window but several panes

I'm trying to configure tmux so it starts creating a new session with three panes. One big pane on the left und two small panes on the right side. I set set -g default-terminal "screen-256color" ...