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
28 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
8 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
16 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
133 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
46 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
30 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
540 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
33 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
34 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
13 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
18 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
45 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
9 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
22 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
33 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
9 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
40 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
89 views

trouble changing font with URxvt [on hold]

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
20 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
63 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
25 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
45 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
26 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
30 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
51 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
36 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 ...
0
votes
0answers
24 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
20 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
60 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
37 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
19 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
65 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
68 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
55 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. ...
0
votes
0answers
14 views

Shortcuts for terminals don't work after some time

Sometimes, under unknown circumastances, the shortcuts for the terminator terminal stops working. That means, if I click the shortcut it opens but if I use the usual shortcut Ctl-Alt-T it doesn't ...
0
votes
1answer
253 views

display ls output in 2 columns with directories in one and files in the other

Can you make an alias command that basically formats the out put of ls into two columns, so that the output shows all the subdirectories in column 1 and all the files in column 2. Example: me:~$ ls ...
0
votes
1answer
22 views

Tmux not loading statusbar config till reload

I have a tmux config with the line bind r source-file ~/.tmux.conf where ~/.tmux.conf is my current tmux config. This works fine and has a status bar that looks like: [ cpStudy ] * 96% ( ...
1
vote
2answers
82 views

FreeBSD 11.2 - 256 color support in console window

I installed FreeBSD 11.2 on my DELL Latitude E7470 with UEFI (might be important). By default it does not install a GUI and that is fine by me (for now). Using the <Alt>+<Fn> keys I can ...