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
4 views

Source by bashrc when I exit an ssh session

I've updated my bash profile on several of my servers so that when I ssh into them I can tell at a glance from the tabs what boxes I'm on. when I exit from an ssh session, the shell that initiated the ...
0
votes
1answer
4 views

How can I use the terminal name for the ICA login in IGEL UMS?

I have several IGEL UD3 Linux thin clients, and I am using the IGEL Universal Management Suite (UMS) to manage them. Right now, I have to define a separate profile for every terminal because each ...
0
votes
1answer
31 views

Linux: shutdown from GUI vs from terminal

Hello I'm new with Linux and could not figure out if shutting down computer from GUI is the same as from terminal with command: shutdown -P now P.S When shutting down, Does init process receive ...
0
votes
0answers
6 views

tmux mouse mode is being disabled somehow during a session

Sometimes while I'm working, I notice that tmux is no longer responding properly to mouse controls (usually as I try to scroll back a pane using the mouse wheel and get iTerm2's own scrolling ...
0
votes
1answer
30 views

What does a question mark after the file name mean using ls terminal command?

What does a question mark after the file name mean using ls terminal command? I am using a Mac running OS X Yosemite (v.10.10.5) When I do ls command at terminal, I get back a list of files (the same ...
0
votes
0answers
10 views

How can I force focus on the terminal after running a run configuration in IntelliJ?

I have a run configuration in IntelliJ which runs a python script expecting some user input. It's all working as planned, however, the user has to click on the terminal window to set the focus so ...
-1
votes
0answers
24 views

An Executable to clean up ram in MAC?

I was searching if I could clean up RAM with terminal and I came across few resources. I found one way it could be done is to use the command sudo purge in the terminal window, but I really don't ...
0
votes
2answers
17 views

Viewing Tab Separated Values on the Terminal (it doesn't show the tabs)

If I have a tab separated values file, and I say cat it, it nicely renders the file for me all lined up properly. Now if I try to copy paste (using my mouse), to another text editor. The tabs become ...
0
votes
1answer
16 views

cURL command units of Dload speed?

When I run curl I sometimes see a progress meter like this: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total ...
1
vote
1answer
33 views

Terminal: How to list current directory while typing out a path

I'm not sure how to phrase this correctly but I want to know how in the terminal to do the equivalent of 'ls' when typing out a path. So for example i'm typing in: sudo "/Library/Application\ ...
1
vote
1answer
21 views

What is the discard option in `stty -a`? It uses `^O`

In stty -a, there's an option for discard = ^0. I've googled around, and the closest documentation I get is from: http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-17.html which says ^O flush (or ...
1
vote
1answer
26 views

tmux configuration stanzas based on Tmux version

This question is loosely related to this one. So I am using a range of Tmux versions between 1.5 and 2.2 on various operating systems (and Linux distros). My ~/.tmux.conf which had been tailored to ...
0
votes
0answers
3 views

XDG Desktop entry, don't close terminal window at process end

How can I specify, in an XDG desktop entry, that the terminal window should not close when the process ends? In an XDG desktop entry for an application (Type = Application), setting Terminal = true ...
0
votes
1answer
12 views

Can I make text transparent in konsole?

I can make the background transparent, but can I adjust the transparency of the actual text? Do any other terminals support this?
1
vote
1answer
18 views

how to automatic save all terminal output to a log file?

I want to save all my terminal output to a log file automaticly, not like this $ ls -al > file.txt
0
votes
3answers
22 views

How would I create and manage a .txt file with Terminal

How would I create a .txt file, customize what it says, and open it. All with Terminal. [OSX Yosemite]
0
votes
1answer
12 views

Copy current terminal window

How do I open terminal in same directory I am in other terminal window? eg. have 2 terminals open one in /tmp (currently working in this) other ~, I wish to press magic shortcut to open new terminal ...
1
vote
1answer
12 views

Can I use Y / N when I'm prompted with Did you mean: [command]?

I noticed that when you type a command slightly wrong it comes up with did you mean: command_name e.g. git staus git: 'staus' is not a git command. See 'git --help'. Did you mean this? ...
0
votes
0answers
28 views

Terminal SSH command not working while connecting to another computer

After entering the command: ssh [username]@[ip address of remote computer] I got the error: ssh: connect to host 10.3.32.1 port 22: Connection refused Does anyone know what causes this?
0
votes
0answers
17 views

Bash in Conemu is overlapping lines

When I start nano/vi or a program that normally clears the screen then I can still see the command line. That means that the terminal is not cleared. If I scroll with the arrow keys the lines ...
0
votes
1answer
12 views

Control A on Mac Terminal behaves unexpectedly while using python ipdb

When I'm using Python ipdb (and this only happens on one of my three macs), I type Ctrl-A to get to the beginning of the line (after running a few statements without issue). The cursor APPEARS to jump ...
0
votes
0answers
28 views

What's exactly the default stdin, stdout and stderr in a typical Linux system?

I've heard in some occasions that the default stdin is the keyboard and that the default stdout and stderr is the screen, but I find that is pretty innacurate. If that were absolutely accurate I ...
0
votes
0answers
13 views

iTerm2 (OS X) change background image for current window from shell?

iTerm2 allows to set a background image or color, either for the current window or the default (used for all new windows). However, can I also set the current window's background image or color from ...
0
votes
0answers
26 views

Unlock Windows From OSX Terminal

What I am trying to achieve is to have a fully automated boot and login script to remotely start up and log in to my windows gaming host for steam in home streaming. So far I have installed wakeonlan ...
0
votes
2answers
23 views

Copying folder to multiple destinations in parallel

I have to transfer roughly 250gb of data from a Master Drive to lots of USB drives, all of identical size and brand. When I copy using the GUI in Mac OSX, it waits to copy all the files to one drive ...
1
vote
0answers
30 views

Why won't gnupg be fooled by my pseudoterminal trick?

Gnupg requires many of its inputs to come literally from a terminal instead of just stdin. I sometimes can get around that with: pty-run: #!/bin/bash printf -v cmd '%q ' "$@" exec script --quiet ...
0
votes
1answer
57 views

How to switch git user at terminal?

I am trying to push a project to a remote repository from the command line. From inside my local directory, I hit: $ git push and obtain the following error: remote: Permission to ...
0
votes
2answers
36 views

Why the simplest Shell-Script isn't working?

I want hide the path in the Terminal and for that reason I typed: export PS1='> ' command which I found online with positive result. I thought to make it to a shell-script in order to not type ...
0
votes
1answer
35 views

Cannot execute Binary file on Mac OS

Here is a repo that I am trying to clone. https://bitbucket.org/sivareddyg/hindi-part-of-speech-tagger It says, we support UNIX based system. So I tried running "make tag" on OSX terminal. But it ...
2
votes
2answers
28 views

Set debian Linux Timezone via command line

Is there a way i can set the current timezone via the commandline/terminal? Its for a shelle script so im looking for some, hopefully, one liner like date -Z 'Europe/London' (Just an example), in ...
0
votes
0answers
10 views

Assigning terminal command to change a specific preference setting

Following the useful guide available through A Modern Story, I've installed Hadoop on Mac OS X for the learning purposes. I start Hadoop by typing hstart and hstop, which correspond to the following ...
0
votes
1answer
33 views

cannot execute binary file python on mac local machine

version --python shows that I have version 2.7.10 installed on my mac, it's located in /System/Library/Frameworks/Python.framework/Versions/2.7 trying to execute python from terminal raised the error: ...
0
votes
0answers
8 views

Tmux incorrectly interpreting aixterm escape sequences

It has just occurred to me that tmux misinterprets aixterm escape sequences (in my PS1 prompt, I use the bold attribute for bolder text and aixterm sequences for brighter colors), if my TERM variable ...
0
votes
0answers
33 views

What these options exactly mean in ifup command in Linux?

Please can someone explain to me more (maybe with examples ) about the following options in ifup command in Linux. This is what I found on the internet, but with no more details about it : ...
-1
votes
1answer
36 views

What is the difference between terminal and tty?

I have seen these two terms use interchangeably. What do they represent?
3
votes
1answer
106 views

iTerm 2 ZSH colors/themes not showed correctly

I have a clean installed mac, running OS X 10.11.4. I have installed iTerm 2, and set it up to use oh-my-zsh. I'm trying to set up a theme for my iTerm. I am trying to use the avit theme. It's ...
0
votes
0answers
11 views

Ansi escape sequences in Makefile

I wanted to create color output in make so that is more readable, but I cannot get it to work. Makefile: all: echo $$'\x1b[36m Test \x1b[0m' When I run make raw string is printed, but when I ...
2
votes
1answer
97 views

Serial console login on OSX

Background I've got a Wyse WY-50 terminal here that, for various nolstagia and productivity reasons (really!), I'd like to connect to my Macbook and use as a login terminal. I'm using OSX 10.10 El ...
0
votes
1answer
19 views

Delete all the folders and file except one folder

I want to remove all the folders and files but except one. I have a Ubuntu server and I tried several methods and none of them worked. This is my folder structure. app app/public app/public/uploads ...
0
votes
2answers
24 views

Command to list all apps capable of opening a given extension

I'm building a file catalogue app of sorts, and for one of its uses I'd like to get a list of all apps currently installed capable of opening files with the extension of the currently selected file. ...
0
votes
0answers
10 views

Stopping terminal tab update on ssh

I understand that this is a possible duplicate question. However, I could not find any satisfying answer and so I am asking this question yet again. When I SSH into a remote machine, I do not want ...
-1
votes
1answer
13 views

Kali Linux terminal command trouble

Hi I am a new user of Kali linux. I have a trouble here. In the terminal no command is working. even if i put "ipconfig" it says bash: ipconfig: command not found. can anybody please tell me how can ...
0
votes
0answers
16 views

Opening terminal on second monitor by default

Is there a way for the terminal to be opened on the second screen when running a program through Visual Studio 2015? Right now I have my graphical window and my terminal opening on the main screen ...
0
votes
0answers
11 views

record directory history from multiple terminals and sessions

I often want to open a previously cd'ed directory in another terminal or session. dirh from fish shell only lists the directory history for the current terminal. autojump doesn't record from all my ...
3
votes
1answer
907 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
25 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
34 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
30 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
71 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
19 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 ...