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
1answer
44 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
40 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
99 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
33 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
60 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
606 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
93 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
84 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
22 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
29 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
65 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
150 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
75 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
35 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
66 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
70 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
389 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
59 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
50 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
64 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
168 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
78 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
90 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
199 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
88 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
74 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
87 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
42 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" ...
1
vote
2answers
787 views

How to make a shortcut that starts a new terminal window on mac os x 10.9.1 mavericks

I'd like to have a keyboard shortcut to open a new terminal from wherever I am. A default shell in my default home directory would be great. I've been trying for a while to make this happen, but no ...
0
votes
1answer
71 views

Why there are 11 tabstops on a 80-column console?

You would assume that since each tab moves forward 8 columns by default, a 80-column console would have exactly 10 tab-stops. This can be disproved: $ printf "1\t2\t3\t4\t5\t6\t7\t8\t9\t0\ta" One ...
1
vote
1answer
37 views

How to 'Open Nautilius Here' in Ubuntu 10.04 from terminal

I know how to open terminal while being in Nautilius: How to open a menu with 'Open Terminal Here' in Ubuntu 10.04 by left clicking desktop, or inside folder? I'd like to do the other way ...
0
votes
0answers
41 views

Why does read's timeout break my console?

I have a script that is causing an issue, I've boiled it down to this; #/bin/bash read -t 1 -p 'Wanna continue?' less +F readTimeout.sh echo 'Wont get printed' The original script operated by ...
1
vote
4answers
97 views

How to move only files with other equal filename but different extension in the folder

I have a lot of folders, some with mp3 files only, others with m4a files only, other with files of both extensions. I need to identify which folders have files in both extensions, then move the mp3 ...
0
votes
2answers
42 views

Why does is pid not correct and changing continuously compared against Activity Monitor?

quick question: Assume, I'd like to kill iTunes. In bash/terminal I run: ps aux | grep itunes When I execute this command several times, the pid changes (actually it increments). When having a look ...
1
vote
2answers
64 views

What is a command-line equivalent of pressing a key on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
1
vote
2answers
47 views

How to vimgrep swap files in a directory

I accidentally closed a terminal window which had some vim tabs were open. Now how can I find these swap files using vimgrep or terminal grep?
7
votes
2answers
3k views

Can I use a chromebook as a ssh workstation?

For my work I develop and run a lot of software on remote clusters. Mostly I'm just using bash/vim over ssh and run only a terminal emulator and web browser locally. I was considering getting a ...
0
votes
0answers
285 views

Libcurl not usable on mac os x

I'm running the configure command to install a particular software package, but it fails when it reaches it's libcurl requirement. This is the output it gives: checking for the version of ...
0
votes
1answer
146 views

Mac OSX Lion 10.7.5. Is there any way to permanently disconnect from a server?

Every time I open terminal on my Macbook Pro, I get the IP address of a server I once ssh'd into. I allowed someone to use my computer to access his server and now it seems like there's some permanent ...
0
votes
0answers
43 views

Slow mac when compiling and running jobs in terminal

I am having numerous problems with the newest Macbook Pro 13 inch (16GB RAM i7 13inch Retina display) when compiling programs in the terminal. Every time I start a process, whether it is compiling a ...
1
vote
2answers
2k views

Is Windows Powershell as powerful as terminal of UNIX/Linux? [closed]

I've been wondering if Windows Powershell is as powerful and efficient as Linux' terminal. People offline tell me, without explaining much, that Windows Powershell is an attempt to make UNIX ...
1
vote
1answer
114 views

Why does my zsh prompt wander upwards when window is too narrow?

I have a weird behaviour that seems to be a combination of zsh and maybe urxvt (?) My setup is this: I start urxvt -e 'tmux' to get myself a terminal which launches zsh as the default shell. I then ...
1
vote
1answer
26 views

Attempting to combine diff command and display last modified between dupes

I am attempting to do something a bit unique, and cannot find the right terminal command line to use. I am attempting to essentially solve for the following problem: I have two volumes of data that ...
0
votes
1answer
71 views

Remove vertical split bar of a termincal multiplexer, vacating the space instead of hiding it

For the last decade I usually work in a full-screen mode terminal emulator (often xterm), and often with vertical split. The recent GNU Screen offers vertical split with ctrl-a |. 1280×720 offers 160 ...