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

Using QtCreator with konsole instead of xterm

I tried to use KDE's Konsole to start console applications from QtCreator. The application works as intended, but any new instance of Konsole started during or after the execution just shows this: ...
0
votes
0answers
26 views

Why my script is not terminating after I exit the shell? [duplicate]

As far as I know if we are using & after a command or script, it will exit once the shell is terminated or logged out. So I have a simple infinite loop script and I am executing it like :: [root@...
0
votes
1answer
23 views

How update title bar on terminator?

I have installed Terminator in my linux Mint on xfce. When I open it, the title bar is correct: but, when I log into a remote server via ssh, the title bar doesn't update: How can I fix the title?
2
votes
0answers
19 views

Want to delete a couple of Chinese(?) titled files [duplicate]

After partitioning an external drive, I see two files in a "Rescued Items" directory that have what appear to be Chinese character titles. Many of the characters appear to be dozens of "nul" ...
1
vote
1answer
21 views

gnome terminal colors

I just installed centos7.2 and am trying to set it up somewhat nicely. I found an answer on here that shows how to set up some colours in the prompt. I am finding that, once dropped into the .bashrc,...
2
votes
2answers
47 views

How can I access a Vim process after closing its terminal on macOS?

This what I get when I run the ps command: $ ps PID TTY TIME CMD 14777 ttys000 0:00.25 -bash 19716 ttys000 0:00.15 vi templates/base.html 8240 ttys001 0:00.11 -bash 8284 ...
0
votes
1answer
9 views

Sudo Broken But Need pkexec

So I'm having this problem where I can't use "sudo" sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin I researched and my ...
2
votes
1answer
23 views

Screen/Minicom multiline problem

I'm managing with some boards like Arduino/UDOO etc. but I always face an annoying problem with minicom or screen. If i type a long command, for example: sudo /sbin/wpa_supplicant -s -B -P /run/...
1
vote
2answers
29 views

Xterm “color query” doesn't print anything

I'm trying to programmatically query the background color of my terminal with echo -ne "\e]11;?\a" but the output appears blank. The issue arises using both Terminal.app and iTerm 3, in both Zsh and ...
-2
votes
1answer
32 views

How do I print all words begining with a specific letter in a text

How do I print all words begining with a specific letter in a text? and all words of 4 characters? thanks
-1
votes
0answers
20 views

How can I install cool retro term on Antergos minimal ISO without GUI?

How can I install cool retro term on Antergos minimal ISO without GUI? Basically I only want the terminal without any desktop but I want that terminal to be cool retro term. If I try to install it ...
1
vote
1answer
37 views

reset terminal via keyboard shortcut (without the enter key)

This should be easy, right? In zsh for instance, you could put this in your .zshrc: reset_widget() tput reset zle -N reset_widget bindkey "^L" reset_widget However, this resets the terminal, but ...
0
votes
0answers
7 views

Close terminator terminal that called layout

I have a layout that will load 3 terminals each with different profiles, but I'm trying to figure out how to remove/hide the terminal that called the layout. For example, I open a terminator terminal ...
1
vote
1answer
19 views

Entering ascii chars as program input

If I write a very simple C terminal program that takes an input, how can I enter an ascii character as the input, like for instance the backspace character?
1
vote
1answer
24 views

Running a terminal command permanently [closed]

I am currently hosting my database for free on Openshift and have my program running on a Raspberry Pi on my local network. I need to pass the data from the program to my openshift database. I want to ...
6
votes
4answers
310 views

Is it possible to check where an alias was defined?

An alias, such as ll is defined with the alias command. I can check the command with things like type ll which prints ll is aliased to `ls -l --color=auto' or command -v ll which prints alias ll='...
1
vote
0answers
13 views

How to send input text in screen serial console?

I am using screen to communicate with arduino over serial port, i start screen like this: screen /dev/ttyACM0 115200 then I try to send a command but every key I press on the keyboard get sent ...
-1
votes
0answers
14 views

Using port forwarding to connect to a remote server on a remote server

I don't know if this is possible but I'm pretty sure I need to use port forwarding. I want to be able to view a web page which is hosted on a server (S1). This web server is only accessible when ...
0
votes
1answer
21 views

Grep only those lines with “<active>…</active>” whose next line contains specific tag and value

By using grep I only want those lines out of all xml files that contains <active>true</active> tags and the next line after that should be <codePool>community</codePool>. My ...
1
vote
0answers
17 views

Filter grep result-set by paths containing folder1/folder2 and trim the current folder path from result-set

I have a grep command like below to search for all .xml files containing given string. grep -rl 'product_list_toolbar_pager' --include='*.xml' --color=always Now I am using this command on remote ...
1
vote
2answers
34 views

Input password in terminal's password field without keyboard

I have several temporary accounts in my PC which I use for testing and I switch in between them very frequently. Let say one of them is test and other is test1. I am working on test and I have to go ...
0
votes
2answers
31 views

Why doesn't CD .. throw an error but other incorrect commands do? How to have it give me an error? [duplicate]

From my understanding, bash is case sensitive. So cd .. would work and CD .. wouldn't. However, inputting CD .. doesn't throw any errors (it doesn't do anything). Why is that? If I type an incorrect ...
2
votes
0answers
21 views

Bicon. Incorrect exit from shell, open in ranger

Installed bicon-git, this is written in .bashrc # hack to launch bicon if not launched if ! [[ "$(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=)" =~ 'bicon'* ]]; then bicon.bin fi Launch ranger ...
0
votes
1answer
66 views

grep works in bash script but not in terminal

I have a strange behavior in my terminal. The following command prints nothing to my terminal: comment=$( cat /usr/share/applications/brasero.desktop | grep '^Comment=' | grep -Po '(?&...
1
vote
1answer
19 views

“not regular file” when trying to scp .gitignore file [closed]

The remote directory already contains a .gitignore file, which I want to overwrite and upload a new one. After doing: scp -P[portnumber] [email protected]:path/for/file/ location/of/file/.gitignore I ...
0
votes
0answers
43 views

Anaconda python and Zsh issue on macOS Sierra

I have Anaconda installed on my Macbook Pro with macOS Sierra with Zsh as a shell and Oh My Zsh. GUI is working fine, but I have problem with commands in terminal. When I want so start jupyter, I ...
0
votes
2answers
27 views

Find & remove files that are uploaded through Cpanel x minutes ago, using SSH

I have a Cpanel login of remote system into which I have uploaded a number of folders and files scattered throughout the structure. But I remember that I did this a few minutes ago, roughly x minutes ...
1
vote
0answers
55 views

ls has started producing lines of garbage before the 1-column directory listing [closed]

I am using a MacBook Pro. After I tried to add the classpath for MOA to the Java classpath, I started getting the following behaviour from ls. I run the command and the first few lines are this ...
3
votes
1answer
31 views

Is there a fortune-mod about security?

Do you know if a fortune-mod about security exist?
0
votes
0answers
14 views

Tell fswatch to clear screen before running command?

I have the following ruby script, foo, that I'm watching with fswatch: #!/usr/bin/env ruby puts "hello world!" on the command line the output looks like: ➜ ~/w/s/g/m/todo master ✗ fswatch bin/* | ...
2
votes
1answer
55 views

Run startx in the background without switching to the new virtual terminal

startx is able to create a new X server in a new virtual terminal. However, even if I run it in the background, ie. sudo startx &, it still switches to the new virtual terminal automatically. Is ...
1
vote
1answer
17 views

How to start talkd daemon?

I'd like to set up a talkd deamon on my machine to talk with other users. The deamon should be set through inetd: # /usr/sbin/in.talkd must be run from inetd. How do I configure inetd to start the ...
1
vote
3answers
140 views

How is implemented the GUI of Vim if is a program that runs on terminal?

I can't figure out how is implemented programs such as Vim (or top for example) that are executed inside the terminal and has a GUI. It is assumed that the terminal can only display characters, and ...
3
votes
1answer
17 views

Flash terminator tab on process exit or completion

Any idea how to "flash" the terminator tabs on process completion? I was looking over terminator_config and set the visible_bell = True but it didn't seem to do what I wanted.
0
votes
1answer
43 views

“ip” command of iproute2 package

In Linux I can do: ip -4 address show or (more verbosely): ip -family inet address show to retrieve information on IP addressing. This command returns: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 ...
1
vote
2answers
63 views

Why am I unable to do a “sudo apt-get update”?

I recently started using linux mint. I am trying to execute the following command in my terminal sudo apt-get update . But I always get this output: How can I solve this issue? ... Ign:10 http://...
0
votes
0answers
24 views

How do I fix this text rendering issue in Konsole?

There's two main problems. One is with underlines. Underlines don't consistently appear, and when switching windows they may spontaneously appear or disappear. Furthermore, when clearing the screen, ...
0
votes
1answer
24 views

Opening files in the terminal

I'm very new to linux and pretty new to using the terminal; when I try typing texmaker myfile.tex on the command line, I get the following message: QGtkStyle was unable to detect the current GTK+ ...
0
votes
1answer
16 views

Tile with a lot of images from terminal

Suppose I have a directory with 30 images. Is that possible to create a big image using these images as tiles? Suppose all images have the same size, like 120x80 and I want to create a big image with ...
0
votes
1answer
34 views

Temporarily change the xfce4-terminal title from within the terminal [duplicate]

How can I change the title of the xfce4-terminal (0.6.3) window, from within the terminal for the current session? I can change the title by using the Menu bar Terminal, then Set Title.... I've ...
0
votes
2answers
32 views

behavior of ServerAliveInterval with ssh connection

Using ssh I am logging to another system and executing scripts there that creates new machines, and do some setups. It takes around 7-8 hours. So what happened is, the ssh connection keeps dropping ...
0
votes
3answers
67 views

Search all xml files recursively in directory for a specific tag and grep the tag's value

Need to do exactly as asked in question. Ubuntu 14.04 Trusty Tahr. Suppose I have directory called 'testmag' which may contain 100s of xml files and directories which in turn contain many xml files ...
0
votes
1answer
40 views

How to play simple notes like a ding-dang sound in terminal

I have written a few scripts to be run under a bash environment. I would like to play a sound after certain commands are executed or results are ready. This could be something like a chime, a bell or ...
0
votes
0answers
23 views

trying to install make : end up with this error - make: *** [all] Error 2

karthik@karthik-Lenovo-G50-70:~/Desktop/opencv/opencv-3.0.0-alpha/build$ make [ 0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/._vp8.c.o /home/karthik/Desktop/opencv/opencv-3.0.0-...
4
votes
1answer
92 views

Command wraps around same line after 80 characters

I have an annoying problem with minicom connected to a serial console to a Yocto Linux machine. The command that I enter wraps around on the same line after 80th character. This becomes very ...
1
vote
1answer
48 views

What is causing these strange characters? [closed]

I've been using a CentOS 7.1 VPS for quite some time now, and although I hadn't touched it in a while, I was doing some maintenance and noticed when I went to remove a file, I got the following ...
0
votes
1answer
33 views

Control characters are not displayed in my terminal (e.g., when I press “^C”)

My terminal does not display ^C when I press CTRL-C in my terminal. I have tried setting various STTY options and am not sure what is wrong. I am running Mac OSX 10.11.16 and this phenomenon occurs ...
0
votes
0answers
16 views

How to configure a “reverse hotspot”? [duplicate]

I'm new to linux and I want to do something like a "reverse hotspot connection". Then, you guys ask me: "What the hell is that?! And what you mean?" Thing is, I have a Mint with wireless network ...
3
votes
1answer
29 views

How to highlight specific packages before updating

Whenever I update my Debiansystem I use sudo aptitude (update/upgrade) in my terminal. This sometimes produces a long confusing list of upgradeable packages. Most of those are not of my interest. ...
1
vote
1answer
51 views

Solarized colorscheme in fbterm?

I have fbterm installed and I'm attempting to use it with the solarized color scheme. I have not been able to find any information about this. The colors are already added to my .Xresources and ...