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

0
votes
0answers
6 views

tool in terminal like helm-occur/helm-swoop for terminal?

I don't know whether this is the right place to post this question, but if you are not an Emacs user, I'll explain the basic usage of helm-occur/helm-swoop. I like helm-occur/helm-swoop for Emacs ...
1
vote
1answer
27 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
14 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
18 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
1answer
39 views
+100

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
23 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
13 views

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

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 ...
0
votes
0answers
24 views

Setting Up an Online Unix Terminal [on hold]

I would like to set up an Online Unix Terminal hosted from my university similar to the one on : http://www.tutorialspoint.com/unix_terminal_online.php Any suggestions on how to get started?
1
vote
1answer
19 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 ...
3
votes
0answers
33 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
33 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
17 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
19 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
20 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
35 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
25 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. ...
-2
votes
1answer
52 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
24 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 ...
19
votes
5answers
890 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 ...
2
votes
2answers
76 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
49 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
18 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
36 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
49 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
42 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
30 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
37 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
25 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 ...
1
vote
1answer
18 views

Dotfile not working in current shell, need new one

To be clear, this isn't a screen issue, I'm sure it's a general shell issue. On a new Ubuntu 12.04 server, I'm currently logged into a terminal in which I want to run the screen command with my ...
1
vote
1answer
60 views

Getting Python errors whenever I try to use terminal in Linux Mint

I've had Mint installed as a dual boot on my laptop for some time. I use it as my dev environment, for desktop and web related coding. I recently started getting errors which have rendered my terminal ...
4
votes
3answers
85 views

Adding vertical space after command in bash

How to add vertical space after each command in bash? Looking for a wee bit of vertical space, not a full line. 1/4 or 1/3 of the line height should do it. [edit] The space to add is only after the ...
1
vote
2answers
41 views

CentOS 7 shell script interpretor

I am starting to write a shell script to be run in CentOS 7. Which interpreter should it call, and what should the shebang line look like? I tried this: #!/bin/sh But when I type cd /bin ...
1
vote
1answer
40 views

Background color mismatch in vim and tmux

I'm having trouble getting the full range of colors to work in vim when I'm running through tmux. I belive that it's some sort of trouble with TERM variables or 256colors, but I've done everything I ...
0
votes
3answers
48 views

Bash: Access parameter passed to last command [duplicate]

This is a situation I often find myself in: mkdir /Some/really/long/path/to/a/directory/ cd /Some/really/long/path/to/a/directory/ I know that ideally you would cd /Some/...etc.../a/ and then mkdir ...
-2
votes
2answers
53 views

autocomplete weirdness as a result of ugly hack for zsh prompt

I currently have the following line in my .zshrc: export PROMPT=$(printf "\e[38;5;6m")%m$(printf "\e[m")%d-%h:" " Which is supposed to show the hostname in blue and history and current working ...
2
votes
1answer
29 views

find out the size of open terminal

On DE we can resize terminal (gnome-terminal for example) for our convenience,how can I know the size of the terminal in terms of pixels or number of columns and rows?
4
votes
1answer
35 views

What does “mouse reporting” mean?

Today I saw a description on iterm2's doc about its tmux integration. It says: To adjust split panes, you have to enable mouse reporting, even if you don't want it otherwise. What does mouse ...
3
votes
1answer
33 views

Why does my application die without nohup?

I have a simple system (running on Debian) that works by invoking a script from /etc/init.d/rc.local At the bottom of rc.local I call myScript.sh who sets up some things, and then starts a binary ...
0
votes
0answers
27 views

Configure FreeBSD pf firewall (non GUI) for beginner

I am running Mac OS X 10.10, but my research has led me to the understanding that the particular flavor of pf was ported from FreeBSD. I have tried the popular GUI software (IceFloor) but it is a bit ...
0
votes
1answer
45 views

how to write a shell script to run multiple programs

I want to run two programs ssh -f mike@c15-0330-02 'cd /home && nohup Rscript L_1.R> L_1_sh.txt ' AND ssh -f mike@c15-0330-03 'cd /home && nohup Rscript L_2.R> L_2_sh.txt ' I ...
1
vote
2answers
49 views

how to use ssh command to connect to multiple computers and send different commands to each computers at same time

I need to connect multiple computers to run different programs. For different computers, I need to send them different command. How to use ssh command to connect to multiple computers and send ...
1
vote
1answer
75 views

Using the grep filter

I have a text file with the name "hello.txt" that contains the following two lines: Hello WORLD! Hallo world! When I wrote the following grep -i h[ae]llo hello.txt in the terminal, the output ...
0
votes
1answer
23 views

How to redirect output of a 'xterm -hold -e' command

I know you can use tee to log output from a command in a terminal, e.g.: df -h | tee ~/log.txt However, how can I do this with a more complex command like this: xterm -hold -e program arg1 arg2 ...
3
votes
3answers
166 views

Starting a process from one terminal from another terminal

I was wondering of there is any method to start a new process or a program from one terminal into other. What I mean is: Let's say I have to run gedit abc.txt, but I don't want it to block my current ...
4
votes
4answers
216 views

Make tail not modify the charset of the terminal

In a linux terminal (CentOS) I am using the command tail --follow=name my-rolling-file.log in order to see the logs of my application. Sometimes in the log there is some binary data dumped (I dump ...
2
votes
2answers
100 views

Passing a bash command line arguments containing #

I am trying to pass pound sign as a command line argument then echoing the argument. When I pass for example 2 # 2 then I echo $1 $2 $3, I assume the terminal will output 2 # 2 but it outputs just 2. ...
1
vote
2answers
81 views

How are long command lines ( > $COLUMNS ) automatically wrapped to a new line?

There are several points where I/O is passed through, some of which (to my knowledge) are the shell, pty, tty, termios, terminal emulator application. In most terminal emulators, long command lines ...
3
votes
1answer
36 views

Start a single color full screen from the terminal

For testing displays, I need to show a single color fullscreen, and quickly switch from one to the next color. Can this be done from the terminal? Something like this: DISPLAY=:0 color #ff0000
1
vote
0answers
23 views

What Does the Output of “--help” Mean? [duplicate]

When using the --help option of a terminal program, a lot of output is produced. It usually starts with Usage: and then a bunch of things and brackets and parentheses. My question is, what doe the ...