Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [terminal]

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

0
votes
2answers
26 views

Where can I find a long form lecture (or series) on terminal commands between versions and flavors of Linux?

Does anyone have a suggested long form video / manual of the different terminal commands between distros (window server, app manager, etc)? It's really hard to take the plunge to open source as a ...
0
votes
1answer
30 views

Visible content of 2 variables in bash is the same, but the length is different

These 2 variables will have the same visible content x_sign1="aabbccdd_and_somthing_else" var1="...." [........] x_sign2=$(echo -n "${var1}${var2}${var3}" | shasum -a 256) echo $x_sign2 ...
2
votes
1answer
22 views

Local keys don't work in graphical shell in Debian 9.6

I installed Debian 9.6 with english as the language, and locale settings (incl. keyboard) as finnish. All works fine in desktop apps e.g. Chromium, but the keys "ä", "ö" and "å" don't work in Konsole, ...
0
votes
0answers
19 views

mate-terminal - is it possible to toggle menu/tab/scroll bars when switching between full screen and window mode?

I use MATE 1.16.2 on Debian (Stretch) 9.0.0 and I've been customizing my command line of choice: mate-terminal (version 1.16.3). I've made a distinctive $PS1 prompt and further personalized my ....
0
votes
2answers
51 views

Can't tar files: Refusing to read archive contents from terminal

I have host without dpkg so I need to install it. I followed the instructions from here and here. On both of these answers they wrote that I need to download the file: wget http://security....
0
votes
0answers
12 views

Transparent LXTerminal on LXDE

I've been trying to set transparent terminal background in lxterminal on Arch Linux but with no luck. Setting transparent background in preferences does nothing, so does setting transparent to 1 in ...
-2
votes
1answer
18 views

command to see no of wifi clients/Mac address of clients connected to near by access points(SSIDs)

apart from airodump command can we use any other command to see how many wi-fi clients are associated to access points
1
vote
1answer
135 views

Bash prompt getting garbled when I browse history?

I have MacOS and .bash_profile content: export PS1="\[\e[0;31m$\]\[\e[m\] \[\e[0;32m\w\e[m\] : \]" as a result I have pwd printed in terminal like this: but when I press up and down arrows to use ...
-1
votes
1answer
47 views

Capture output of a command, process it and ONLY then output to terminal

I would like to capture the stdout (as sent to a terminal), and perform some processing after it is output on the terminal (for the user). I want to know how to grab the output, process and make ...
1
vote
0answers
34 views

Thunar's “Open Terminal here” bug

I'm using Thunar 1.8.2 on Debian Testing and the "Open Terminal here" function seems buggy. I've set up the custom action xfce4-terminal --working-directory=%f with the keyboard shortcut F4. Oddly ...
0
votes
0answers
7 views

`screen` not creating log file when run inside tmux/byobu?

When we use screen command with -L option, it creates log files of the session with names like screelog.0, screenlog.1 and so on. These log files are created inside the directory in which the screen ...
2
votes
2answers
548 views

Is there a way to get ls to listen for changes and update output similar to tail -f?

I have a process that creates many files in a known directory, and the only way to tell how far along it is is to type ls manually. Is there a way to make the output of ls update automatically as new ...
1
vote
1answer
34 views

Software for serial communications without speed limit

I have a serial to USB device which supports speeds of 8Mbaud and 12Mbaud (based on FT232H IC). I have tested it under Windows using HTerm, works just fine, but I had to resort to HTerm with hacked ...
1
vote
1answer
39 views

How to grep only the channel number

From : sudo iwlist wlan0 scan | grep Frequency I get Frequency:2.412 GHz (Channel 1) Frequency:2.412 GHz (Channel 1) Frequency:2.462 GHz (Channel 11) ...
0
votes
0answers
14 views

xdotool type and stty occasionally cut off first letter of input

I defined a simple function prepend (below) that should automatically place a repeated term of a bash command in the following input prompts. For example, by typing prepend git in the terminal, all ...
0
votes
0answers
23 views

Newsboat / Newsbeuter — how to config to load more articles

Recently I've installed newsboat and wondered if there is a possibility to load more (e.g.) then 15 articles (instances) per video channel. Inside the config I've already tried to set max-items 100, ...
0
votes
2answers
47 views

Terminal rendering and application performance

I'm running Mint 19 with cinnamon, but i think its a general question for any linux desktop environment. I have a python CLI application which has a lot of terminal output, so much, that the print ...
0
votes
0answers
11 views

How to enable process completion notification in yakuake?

I want to make it so that every time a process is complete (e.g. when apt update is complete) a notification would notify me. I don't want to have to add a command after every commands. The default ...
2
votes
1answer
37 views

Coreutils timeout(1) plays badly with man/less

I want to set a timeout to the less(1) command on our company's production server. Everyday we produce large log files on it, and despite the nightly batch job to archive/remove them, we sometimes get ...
0
votes
0answers
23 views

Linux terminal: Keyword highlighting similar to MobaXTerm without piping

When I SSH into a Linux machine from Windows using MobaXTerm, I get the benefit of syntax highlighting (https://mobaxterm.mobatek.net/features.html --> see Syntax highlighting in terminal). It ...
0
votes
0answers
34 views

Output in terminal after quitting program

I'm using Kubuntu with i3, and I've recently migrated from Manjaro because things. My terminal emulator is urxvt but, when I use programs such as vim, less or nano in the terminal remains the part of ...
0
votes
0answers
10 views

How can i check for errors of the nemo file manager?

Are there any terminal commands one can use to check if the nemo file manager (linux mint 19.1 cinnamon) is working properly? Asking, since i tend to get some error messages every now and then, ...
1
vote
0answers
41 views

Get/Set environment variables in a different tty

I'm using a tool (Autokey) that spawns in a new shell. Cool tool, but I want to pull info from my current shell. Say I'm on pts/0 and I have a variable set: VAR1=yes. In another shell, I want to be ...
1
vote
2answers
92 views

trouble changing font with URxvt [closed]

I'm trying to change fonts in URxvt. $ fc-match "FuraCode Nerd Font Mono" Fura_Code_Regular_Nerd_Font_Complete_Mono.otf: "FuraCode Nerd Font Mono" "Regular" But when changing ~/.Xresources like this ...
0
votes
0answers
21 views

Tabbed terminal emulator that has “Save state” functionality

Is there a terminal emulator that will have tabs and once closed and reopened (maybe with some identifier specified on the command line interface) will: open the same amount of tabs name each tab ...
0
votes
3answers
45 views

Bash: shell script create variables? [duplicate]

I'm trying to have a bash script create a variable and have the variable persist in the terminal until the terminal closes (not permanently). I thought export was what I needed but it didn't work. #!/...
0
votes
2answers
64 views

How do I open multiple terminals, so I can have multiple shells open?

I have been slowly learning Gnu/Linux commands, and I'm using it to get more serious about my python programming. While reading about python on Gnu/Linux its uses and integrated shell, plus using the ...
0
votes
0answers
27 views

First character of each line on terminal window not showing

I have just installed Debian 8.11 on my G4 PowerPC, codename jessie. For some strange reason, each line on the terminal screen (aka 'the' screen) has its first character missing. I tried the ...
0
votes
1answer
46 views

Linux mint files color changed in terminal

I am using Linux Minter 19.0 on two machines. I have a src and destination folder. My src folder is on my local machine, and the dest folder is on a remote machine. I ran rsync to move files from ...
0
votes
1answer
29 views

Meta key issue when using Emacs terminal on Lubuntu LXQT

While pressing Alt key on the keyboard the control is transferred to the terminal menu. There is an option in ubuntu terminal (Edit -> Preferences) to disable this Enable mnemonics (such as alt + ...
1
vote
1answer
27 views

Zsh: remove # - comment when pasting to terminal?

I use clipmenu to choose something to paste into terminal that running zsh as shell. Problem is that zsh will echo error when for example I paste a shell function that contains some # for comments ...
1
vote
0answers
31 views

Lock Virtual Terminals when resuming

Many screen lockers (mine is i3lock) do not block access to other Virtual Terminals. This means that, if I leave a session opened in some VT, then even when the desktop is locked (for example when ...
1
vote
0answers
52 views

How can I use a mac to scroll and copy-paste text on the tmux via ssh?

I always use macos Terminal.app to control my ubuntu servers via ssh, and I need to use tmux to keep my program running in background. Now, I know how to configure the tmux (on my ubuntu servers) to ...
1
vote
1answer
38 views

pipe into a curses program

The library ncurses provides an interactive user interface. However, I was wondering what would happen if you pipe something into the program. So i tried like this: # echo foo | my_curses_prog It ...
-1
votes
0answers
25 views

Is there a way to set coloring for “cd tab” complete on macOS?

I have turned on coloring, set colored-stats on in my ~/.inputrc but still not working, here is a screenshot, first one, cd tab & second is ls tab
0
votes
1answer
21 views

SSHFS symbolic link does not show up

So this issue is actually occurring between OSX and CentOS. I created an ssh mount using osxfuse: sshfs [ssh config name]:/remote/location/dir.ec.tory ~/client/location/dir.ec.tory -o ...
1
vote
0answers
61 views

open a new terminal, let it stay, and switch back to original terminal, run command [duplicate]

I want implement like this at terminal A, open a new terminal B, run command in B, leave B runing, and back to terminal A, run other command. I have following script, but not what I expected #!/bin/...
1
vote
1answer
41 views

Linux's command line behaviour (Ubunto/Deb) in running an executable file [duplicate]

@user-123:~$ Downloads/execfile-3.4/execfile @user-123:~$ @user-123:~$ cd Downloads/execfileparentdir-3.4/ @user-123:~/Downloads/execfileparentdir-3.4$ execfile execfile: command not found @user-123:~...
2
votes
0answers
50 views

Detect terminal font

I am running Debian live XFCE, and I cannot seem to determine the font used by the Terminal. I went to Edit, Preferences, Appearance and it just says "Monospace Regular". Then I did cat /etc/default/...
-1
votes
2answers
40 views

Replace a variable with stdin?

I want to loop over some values and I know I can simply use a for loop but is there any other way that I can replace a variable value in a command at the end of the command? Somewhat like echo 11"$...
0
votes
1answer
53 views

Linux switches to mysterious Kernel Buffer view everytime a new dmesg arrives

There is a mysterious tty that only reacts to sysrq, not to any other keyboard input. It started after I engaged SysRQ+F and SysRq+i. Every 30 seconds or so, Linux switches away from the current tty ...
1
vote
0answers
38 views

What is wrong with my terminal? Backspace won't delete everything on the terminal line [duplicate]

In my Centos linux terminal, if I press up on the arrow keys to bring up a previous command, specifically a long one, and then try to delete it using backspace, it won't delete the entire command. I ...
0
votes
1answer
20 views

how I can print psk only?

I want to print psk & it's value (i.e. password) I tries this:sudo cat /etc/NetworkManager/system-connections/My SSID | grep psk | cut -f2 -d = but I got this : wpa-psk mypassword I want to print :...
1
vote
0answers
67 views

Can't highlight words in terminal

I have been using the gnome Terminal for 3 months already, but today I can't highlight the words on the terminal suddenly. I can't do so on nedit as well. When I use the 'find' function in nedit to ...
1
vote
0answers
71 views

Some commands not persisting between terminal sessions [closed]

I am running Ubuntu with a zsh shell, and for some, primarily non apt-get installed cli utilities, I get a command not found error in the cli, when trying to open that application in a new terminal ...
0
votes
1answer
71 views

How to view the current keyboard layout on arch linux

I am not using any Desktop Environment (GNOME, KDE...) I am using i3wm and I mapped the alt-shift key to toggle fr,ara keyboard layouts I want to view (from terminal) the current layout to use it in ...
1
vote
1answer
24 views

How Not To Bash Auto Complete File Name From the Beginning Letter?

Say I'm in a directory and have a file called 01_test.py and if there are too many files in the folder and I forget the beginning of the file name and only remember there is a test in the file name, ...
0
votes
1answer
64 views

Conditional emoji on terminal success and failure

I am using a Mac and I want to be able to show emoji X for every successful command that I type in and emoji Y for every command that results in failure.
0
votes
1answer
26 views

How can I filter just one particular nick messages in weechat (IRC)

Consider have a buffer/channel opened in your weechat. I want to temporarily see all the messages of one user/nick. Is this possible? This means only the filtered nick messages will be shown (just for ...
1
vote
1answer
57 views

Gain Root Access to remote Server with sudo, su, and pkexec not working

I'm running CentOS7 on an old dell box that I repurposed as a home server. I also ssh into it from a remote location to make sure everything is running smoothly, and to do things like rsync my laptop. ...