A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

learn more… | top users | synonyms

2
votes
0answers
19 views

cssh: change terminal from xterm to terminator

I would like cssh to use terminator terminal emulator, instead of the default xterm. In ~/.clusterssh/config I have changed the following line: #terminal=/usr/bin/xterm terminal=/usr/bin/terminator ...
1
vote
1answer
23 views

How can I cache the PGP unlock for unix pass when I am in the virtual terminal?

When I am running in the GUI, if I run the pass command to read a password such as pass -c Email/FooBar, a password prompt will appear for my passphrase. If I type my password, my password will be ...
2
votes
2answers
49 views

What allows a command to be typed while the previous command is still running in foreground?

Sometimes I have seen when one program (say A) is running in the foreground and printing its output to stdout, I can type another command (say B), and when I press Enter it is run, even though I had ...
0
votes
0answers
13 views

Changing from bash-4.3$ to [user@hostname currentfolder]# [duplicate]

I'm tring out different linux distros. I've settled on Fedora, but I'm a bit confused. On my other distros, my terminal would open up with a [user@hostname currentfolder]# before each prompt. Now I ...
0
votes
1answer
42 views

sudo apt-get update doesn't work

I am using ubuntu 14.04 LTS. when I run sudo apt-get update command in terminal, following error will appear E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) ...
1
vote
1answer
10 views

Resizing the terminal window for ipython command prompt

I am using the OS X Terminal (I know, not Linux or Unix, but hopefully that's irrelevant here) for a number of operations, and commonly use nano to quickly edit files. In doing so I often resize the ...
1
vote
1answer
37 views

Why is sudo slow when I mistype my password? [duplicate]

If I'm asked for the sudo password, after typing it in correctly, the terminal moves on almost instantaneously. However, if I mistype my password, it takes a few seconds before working it out and ...
6
votes
1answer
63 views

Terminal does not accept pasted or typed lines of more than 1024 characters [duplicate]

When I enter text on stdin in an OS X Terminal, a single line is limited to 1024 characters. For example, cat > /dev/null beeps after I type (or paste) a line longer than this, and refuses to ...
3
votes
2answers
180 views

How can I import new Unix commands on my OS X Terminal?

There are a number of Unix commands which do not work on my OS X Yosemite 10.10.3, Terminal Version 2.5.3. For instance, I often use this cheatsheet of Unix commands: ...
1
vote
1answer
12 views

LS_COLORS for 256-color terminal

I thought ls colors are defined as <file_type>=[<bg(40-47)>];<font_spec(0:5)>;<font_color(30-37)> but, I recently found this where there are more colors and colors are ...
2
votes
0answers
30 views

Terminal pty name according to the source IP address

Is possible to have some Unix (either just in Linux) 'engine' mounting the pts'es (terminals) names according to their IP (socket) source ? In the past we could map each physical ports to its tty ...
1
vote
1answer
33 views

Malloc error after running chown -R on /usr/

I'm running Yosemite on a macbook air. I was following the suggestions after running brew doctor which told me that usr/local did not have write access. It told me to run chown on a bunch of ...
0
votes
1answer
28 views

page up and page down alternative for horizontal scrolling in less

In vertical scrolling using less the page up and page down keys are working. Which keys scrolls one page down/up vertically? The less was started with -S option.
4
votes
1answer
319 views

Ping doesn't work, but I can browse through the internet

Pinging my default gateway is working properly and I can browse google and facebook in my browser. But, ping google.com and ping facebook.com on my terminal are not working. PING google.com ...
1
vote
2answers
55 views

Run commands “without” terminal [closed]

Months ago I saw a guy running commands from a small, text-box-like window, showing nothing else other than the text-box for you to write the command. Such text-box would popup by pressing some ...
2
votes
2answers
29 views

Bind C-i and TAB keys to different commands in terminal applications via .inputrc

For what I have tried, "TAB" and "C-i" in .inputrc seems to mean the same thing, whatever I bind to one is bound to the other. I know that originally, it was the same thing and that this behavior is ...
0
votes
2answers
26 views

Where can I find the speciation that a terminal emulator must meet?

I'm interested in writing a terminal emulator for fun. I roughly understand the division of labor between the shell and the terminal emulator from this post: What is the exact difference between a ...
1
vote
1answer
39 views

White terminal cursor and yellow Vim searches

I have a blinking block cursor in the XTerm. The goal is to always be able to tell my current position. It usually works fine, but it fails when I place my cursor on a background similar to the cursor ...
2
votes
1answer
45 views

change terminal appearance according to server

I have 2 different serves (all running Linux) to which I connect via ssh . After login all terminal background looks same. I want to have different color theme or background for different servers. For ...
0
votes
1answer
32 views

csh: Terminal inherits environment variables from an unknown location

I'm on a shared machine running CentOS 5.10 that I log onto using VNC from Windows 7. Our default and official shell is csh. Every time I open a new terminal, I have three particular environment ...
6
votes
2answers
685 views

bash - why does \x0d\x20 erase the line

This is the view from gedit editor: and the view from vim editor: I then try to grep it, it did grep successfully if i put Log instead of Tog, but the output is corrupted: [xiaobai@xiaobai grep]$ ...
1
vote
2answers
41 views

Show output of a command run inside screen if it exits with errors

I am using the screen command for starting server running in foreground. But in case there is an error when starting server I am not able to see the output of command. I have to run it again without ...
1
vote
1answer
18 views

Spawn another terminal running tmux (from a terminal running tmux)

I'm currently using urxvt with tmux, run as such: urxvt -e tmux I wish to start up a completely separate instance of urxvt -e tmux (another urxvt, also running tmux) using the terminal. (More ...
1
vote
1answer
32 views

Save all the terminal output to a file

Is there some way of saving all the terminal output to a file with a command? I'm not talking about redirection command > file.txt Not the history history > file.txt, I need the full terminal ...
-2
votes
1answer
22 views

I am using Kali Linux, but however, I want to know how to switch my normal user account into root admin?

I want to know how to switch my normal user account into root admin? For example, when I log into my account I cannot modify and save sources.list from etc/apt/folder nor can I get an update for ...
0
votes
1answer
28 views

Build gdal with mrsid plugin on fedora 21 server

I've been having an issue for over a week now. The problem is, I can't build gdal source with MrSid DSDK on Fedora 21 Server. I have built and installed gdal with MrSid on Fedora 21 without any ...
2
votes
4answers
124 views

Recovering Invisible screens and dropdowns on linux

The terminal has gone invisible , although I can type commands and they get executed: Even some firefox download dropdowns are invisible, I can click the items in the drop down list but the list ...
0
votes
1answer
33 views

Why my terminal screen crashes?

Sometimes my system gets freezed, after that my icons looks crashed and the terminal fonts are also crashed Whenever I restart it looks normal, how to fix this?
0
votes
1answer
25 views

pager “less”: --quit-if-one-screen without --no-init [duplicate]

I can't get less --quit-if-one-screen (-F) working without --no-init (-X). less --quit-if-one-screen /proc/uptime I see no output. This works: less --quit-if-one-screen --no-init /proc/uptime ...
1
vote
1answer
31 views

How should look script that launches program on startup

I want program rescuetime to be launched when computer loads. I've found that for this task script should be created in /etc/init.d/my_script and this lines to be entered to console chmod 755 ...
4
votes
0answers
45 views

rm -rf ~/.Trash/* doesn't work, Mail Attachment.eml:OECustomProperty unable remove

I'm on OSX10.10.3, I've had a file in my trash for about 6 months or so. I have a file in my trash, 2 actually. That are from my mail cache that I dumped since I don't have the space on my SSD for my ...
1
vote
1answer
48 views

Host linux distro without GUI?

I saw this video on Youtube: Run Kali Linux on Android The phone uses the app: Linux deploy, which uses the phone to host the distro, but there's is no GUI. The only way to connect to Kali, is by ...
0
votes
1answer
19 views

How to change the key repeat interval?

How can I change the key repeat interval in FreeBSD? I'm talking about when you hold down a key, and the terminal repeatedly registers key presses for that key. I'm having a problem where if I type ...
1
vote
2answers
31 views

Whiptail/dialog input bug when executed from rc.local

I need to start a Bash script containing calls to dialog at Debian boot time. This is how I've been able to do it: Unset default root password Set --autologin option to tty1 in initrd ...
-1
votes
1answer
30 views

Gauke terminal + powerline: config confusion and parameter issues [closed]

When trying to edit powerline for my bash shell, guake terminal on Ubuntu 14.10, I attempted to copy and edit the default configuration, to no avail. After some experimentation I realised none of the ...
1
vote
0answers
46 views

Decrypting with GPG after a “su - different user”

I have cron job running a script in the cron of "USER A" that encrypts many files in a loop using the gpg command below: gpg --batch --cipher-algo AES256 --passphrase "PASSWORDISHERE" -c FILENAME ...
2
votes
1answer
29 views

What is screen's “Multi display mode”?

screen's man page mentions a "Multi display mode" at one place: -x Attach to a not detached screen session. (Multi display mode). It's the only place where "Multi display mode" is mentioned. ...
-3
votes
1answer
54 views

What does root means in terminal?

What is the difference between the following: I have 2 accounts in my OS, baron and root I login with baron account, then run the command sudo -s baron@linux:~@ sudo -s [sudo] password for baron: ...
2
votes
1answer
25 views

Set default color for top

How do you set the default color for top? Right now there is a red that I can barely read. You can toggle from mono to color with z or set it up more thoroughly with Z. But none of those settings ...
3
votes
3answers
37 views

Can I change terminal type used to login through SSH?

When I login on some particular server through SSH (which I do not have admin access to), I get the following error: urxvt-unicode: Unknown terminal type (I also don't want to change my terminal type ...
20
votes
5answers
907 views

How can I find the common name for a particular glyph?

Sometimes, I'd like to know the name of a glyph. For example, if I see −, I may want to know if it's a hyphen -, an en-dash –, an em-dash —, or a minus symbol −. Is there a way that I can copy-paste ...
3
votes
2answers
119 views

Where does the TERM environment variable default get set?

When I open a terminal window with the GNOME Terminal emulator in the desktop GUI the shell TERM environment variable defaults to the value xterm. If I use CTL+ALT+F1 to switch to a console TTY ...
1
vote
2answers
61 views

Change color of input text, not output [duplicate]

I need to capture screenshots of the terminal where the typed commands visually "stand out" from the rest. Right now I'm using this to make my typed commands "red": PS1='\[\e[0;31m\]\u\[\e[m\] ...
3
votes
0answers
23 views

How can I pass function keys to htop in a tty?

I'm trying to use htop in tty1. However, some of the function keys don't appear to work as normal. F1 and F2 do nothing, and F3 seems to trigger setup (which should normally be triggered by F2). In ...
1
vote
1answer
39 views

Reinterpret terminal output

I have a program that executes some commands in a terminal (for example apt-get update) and stores the output. How can I reinterpret the output, so I can remove all information that is not needed ? ...
1
vote
1answer
77 views

reliable way to give all read/write access recursively in CentOS 7

What is the most reliable way to give all users read/write privileges for a given directory and all of its subdirectories and files in CentOS 7? In an eclipse web application project that uses ...
1
vote
2answers
45 views

echo with backspace

I am trying to figure out why this happens in bash. Ok this is easy enough. $ echo -e 'a\txy\bc' a xc Ok this is easy enough. $ echo -e 'a\txy\b\b\b\b\b\b\b\b\bc' ac xy Ok this is easy ...
0
votes
1answer
52 views

Run script from GUI with terminal output

I would like to run a script from the GUI. For example a simple echo "hello" from the right click context menu. In my case I would set up an action in thunar like this: Then it appears in the ...
2
votes
1answer
44 views

Using wget, how to download to a specific location, without creating folders, and always overwrite original files

How do I use wget to download files to a specific location, without creating directories, and overwrite the original every time. I've tried using the -r -P and nc options in combination but this ...
1
vote
1answer
42 views

Nautilus to open in the foreground

From the terminal I can open the file manager using nautilus ., but the window opens behind the current terminal window (on my Ubuntu 14.04). Is there a way to call nautilus from the terminal and ...