Questions tagged [linux-terminal]

The Linux Terminal (also called console) is a wrapper program which sends user input to the shell and outputs the result after the command have been processed.

Filter by
Sorted by
Tagged with
-1
votes
0answers
32 views

What is the font used by Alacritty by default?

I use vim with the airline status bar. This plug-in requires special characters usually not shipped with vanilla packages. There is however a useful repository with patches for most of the common mono-...
0
votes
0answers
47 views

Which terminal is that?

While watching Introduction tutorial to Qt / QML I noticed Jesper Pedersen from KDAB seems to be using a Windows terminal which is not that old (classic) DOS command prompt I'm used to. Seems to be ...
0
votes
0answers
11 views

How to stop SSH pipe from dying due to inactivity in Konsole

I have a super efficient Konsole profile setup just the way I like it with my prefered shortcuts. Lately I have been spending a lot of time in the terminal connected to a remote server through SSH. I ...
0
votes
0answers
28 views

Hide titlebar in Termite terminal

How can I hide the titlebar in Termite terminal? I been trying with show_titlebar = false But still not working. I'm using Manjaro Linux. termite_terminal_capture
0
votes
0answers
52 views

Automatically run a Minecraft Bedrock Edition command from a terminal

I have a Minecraft Bedrock Edition server running on a Debian Linux machine. I start the server by typing LD_LIBRARY_PATH=. ./bedrock_server into the terminal, and then once the server starts, I am ...
0
votes
2answers
37 views

How to checksum files from filename on Linux

I have many files tagged with a CRC checksum on their filename on a Windows machine. Example: filename_[000000].extension I know there are a lot of options for Linux based systems to check/calculate ...
0
votes
0answers
18 views

How to centered output data across “|” in everything column in terminal?

I want to align output in terminal by the following command: xlscat -C 1,2,9,12 file.xls I get output like this: string 1 | 1000 | 1 | text ... string 100 | 61 | 109 | number ... string 1000 | ...
0
votes
0answers
12 views

How to print stderr to terminal only in Linux?

In Linux writing "hello" will print "Hello, world!". 'hello > file.txt' will redirect that string into a file named file.txt. 'hello 2> file.txt' will redirect any stderr ...
2
votes
1answer
528 views

Meaning of D, H, R, A in smbclient file listings

I connect to a Samba drive in terminal (Linux) via smbclient. When I list the directory via command ls, I get for every entry (file or folder) some letters: such as D, H, R, S, A in different ...
0
votes
0answers
37 views

How can I customize the virtualenv info in zsh theme?

I use the bureau theme (little customized) with oh-my-zsh. .zshrc file zsh-theme file p0tt3r@wand ~ [21:19:10] () >🔮$ ...
0
votes
0answers
7 views

I'm trying to exec a .sh script which is on my Desktop from PHP, however it is executing but all the files is not generating

I am using ubuntu 16.04 and trying to exec a .sh bash script which is saved on a folder in my Desktop there is also some other files(arm-cfg) which is on the same folder that is necessary to generate ...
1
vote
1answer
22 views

concatening a variable to a file using cat

I wanted to do a bash function that given a text variable, it would concatenate it to a file. i.e function print() { cat << 'EOF' >> file This $1 is a variable EOF } But it wouldnt work. ...
0
votes
2answers
88 views

How to run Applications from the terminal by only typing their name in macOS?

I want to run Applications in macOS as simple as it is on Linux: just type the app's name in the terminal. What is the best way to do this? Example: I just installed Atom Nightly and would like to run ...
0
votes
1answer
787 views

How to make neofetch run instantly?

I decided to make Neofetch run whenever I open a terminal window by editing ~/.bashrc to execute it. However, there is a delay while printing out the system information and it takes a little bit of ...
0
votes
0answers
29 views

Linux shell for Windows can't “see” files on a NAS

I have a NAS and I'm trying to open a Linux shell on a folder in this NAS, but when I right-click a folder (holding shift) and open the Linux shell it doesn't show the files there, It doesn't even ...
0
votes
2answers
7k views

Adduser command not working in Linux

When I type adduser -m username, I recieve this from the terminal: bash: adduser: command not found (in spanish "orden no encontrada") I tried innstalling adduser but it was already installed
0
votes
1answer
112 views

How compatible between different terminal types ($TERM)?

For example, in putty I set TERM=xterm, then I login to a Linux server and in the command line I run export TERM=linux, and then I start gnu-screen with screen -T screen (means TERM=screen). It's ...
1
vote
0answers
49 views

producing animation on terminal [closed]

telnet towel.blinkenlights.nl Typing the above command in a terminal on Linux produces a Star Wars animation. What baffles me is how the writers were able to produce an animation in a terminal in ...
0
votes
1answer
269 views

zsh: always buffer last command's output

Is there any way of buffering or saving into a variable the output of the last command? e.g.: % long_running_command <long output> <long output> <long output> <long output> &...
0
votes
0answers
81 views

How to scroll much further back in Linux Server running Bash

I am running Bash on the default terminal of a Debian Server (no GUI). I use Shift + Fn + Up key combination to scroll back but cannot view past a certain point. How do I achieve extended (or ...
8
votes
2answers
5k views

How do you output a QR code to the linux cli terminal for scanning?

I want to be able to output a QR code to the ubuntu cli terminal where I can scan with my phone. I have a configuration file I want to convert to a QR code so I can scan it vs having to transfer it ...
0
votes
1answer
101 views

'rxvt' terminal emulator resets settings after logout

when ever i logout, rxvt resets to it's out of the box ugly look. Then I have to run the following command to get my settings back. xrdb ~/.Xresourses Do i need to do this every time after I logout. ...
2
votes
1answer
233 views

ColorDiff - change colors

Is there any way to change color scheme used for color diff ? By default it uses red and blue But i cant see blue on my LCD at all.... Id prefer eg yellow or green I think I read about some cfg file ...
2
votes
2answers
186 views

Why does the Command prompt and PowerShell give different output results than the Terminal?

I have the following example code from a book: #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main(int argc, char *argv[]) { printf("Hello World (pid:%d)\n", (int)...
2
votes
1answer
139 views

Configure dnsmasq to selectively resolve domains using two DNS providers

I want to use two different DNS providers, a.com and b.com. I want a list of domains like google, youtube, superuser (and more) to be resolved with a.com. And I want all other domains to be resolved ...
1
vote
1answer
94 views

Fix Alignment of Split Terminal Panes

Essentially, it seems that any kind of split within terminal becomes unaligned. I'm using tmux below to demonstrate the problem, but it also occurs when I make split panes using NERDTree with vim. ...
0
votes
1answer
889 views

installing packages using pip and pip3 throws an error

I need to install python library scp and setuptools for a script but when I try to download any package using pip or pip3 it throws this error. ubuntu@ubuntu:~/testcommander/tests$ sudo pip3 install -...
3
votes
1answer
7k views

Doesn't have a 'Release file' when upade Ubuntu 18.04

E: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore ...
0
votes
1answer
223 views

update-alternatives: error: no alternatives for x-terminal-emulator

I have openSUSE Tumbleweed. I want to change default terminal emulator from xterm to konsole, BUT when I get command update-alternatives --config x-terminal-emulator I have this: update-...
1
vote
1answer
26 views

Trouble running Ubuntu terminal command on files on external hard drive

I'm having difficulty looping a command in the Ubuntu terminal over files held on an external hard drive. When I move a subset of the files onto my main disk and adjust the path accordingly it works ...
2
votes
2answers
93 views

Setting specific attributes for a linux terminal instance

I recently started to use linux for programming because it feels more comforable than programming in windows, but i miss from windows a particular feature. I would like to have two different terminal ...
0
votes
2answers
49 views

How can I create, using one command, a GNU session with 4 windows, each running different command?

I'm trying to make screen start in background every time I boot. I need to have at least 4 windows, each running different command automatically. How can I do that?
1
vote
0answers
290 views

Adding margin to rasterized PDF using ghostscript

I'm cropping and rasterizing some PDFs using ImageMagick. In order to remove some text that I don't need, I want to crop to a smaller box than needed and then readjusting the page size adding some ...
3
votes
0answers
226 views

How do I properly re-send a process to background after fg in Linux

In my remote terminal I have put in background the following running Linux process dd if=/dev/sda3 | gzip -1 - | pv | ssh user@.rsync.net dd of=image.gzin Ctrl+Z bg disown pid1 pid2 pid3 pid4 (4 ...
1
vote
2answers
2k views

Execute Command with xterm and close

Im trying to execute a program with xterm and then close xterm with program running but it seems this doesn't work like I would expect it. In bash there is the option bash -c [command] is there ...
1
vote
0answers
36 views

How to interpret the results from calling top in terminal

After running $ top I've noticed that the white values are always significantly larger than the red, which seems strange, but while running no programs except for firefox quantum, the above image was ...
1
vote
2answers
131 views

How can I share a folder on VirtualBox?

I want to share a folder between Windows 10 and VirtualBox (CentOS OS).
1
vote
3answers
69 views

is there a quick way to change part of a file name in every file and folder in a collection of nested folders a few layers deep?

windows or linux, either works, it's on an external drive either can read e.g. change "version2" to "version3" in every file and folder of a project? Though in this case i want to change patient ...
2
votes
2answers
671 views

Pipe STDOUT to an image?

Recently, I wanted to run a terminal command like "git show <hash>" and save the output to an image, a PNG preferably. I googled it quite a bit and found some neat tricks, with the import ...
0
votes
1answer
860 views

How can I change the colorscheme through command line?

I'm using base16 theme $ ls ~/.kde/apps/konsole/ base16-tomorrow.colorscheme base16-tomorrow-night.colorscheme My scheme are correctly installed But when I try to switch using konsoleprofile it's ...
2
votes
1answer
570 views

Virtualize Multiple instances

I have this problem, I want open multiple instances of a portable software named hitleap (it is for ubuntu, I am not using wine) in ubuntu. when I try open after is running the shows me How could I ...
0
votes
1answer
39 views

Download Project using Linux mint

I am trying to download a project using Terminal of Linux Mint. I am using below command. scp -r UserName@ServerIPaddress:/home/username/public_html /opt/lampp/htdocs/my_project. But I am getting ...
4
votes
3answers
2k views

Make Terminal recognize PageUp and PageDown when remapped to different keys

I understand Terminal by default doesn't support PgDn and PgUp. I do not have PgDn and PgUp on my keyboard, but have them remapped to different keys currently and therefore Shift+PgDn doesn't work. I ...
1
vote
1answer
919 views

Why can't I copy a folder from remote server to local with this command?

I'm logged into my remote server as root, I want to copy a folder to my local machine. What is wrong with my code below please ? scp -r myfolder 12.34.56.789/c/copyofmyfolder 12.34.56.789 is my ...
0
votes
1answer
339 views

ubuntu : redirecting ssh command to existing xterm

This command execute remotely on "machine name" the command "glxgears" on a new xterm terminal: xterm -hold -e sshpass -p <password> ssh -X -o StrictHostKeyChecking=no <user name>@<...
1
vote
1answer
1k views

Do I really need to “exit” from an SSH session in Linux using PuTTY?

I'm used to type exit in PuTTY, when leaving the SSH shell. However, you can also just close the terminal. Unless there is still a task running, does this have any consequences, such as leftover ...
0
votes
0answers
75 views

Keep track of linux terminal commands in git

Is there a way we can keep track of commands executed in linux terminal in git? I would like to commit each command entered.
0
votes
1answer
830 views

mobaxterm doesn't correctly pass ctrl-shift-arrow sequences

MobaXterm doesn't correctly pass ctrl-shift-arrow sequences. It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
0
votes
0answers
120 views

how to merge two similar image's differences into one image in terminal?

I don't know if this has been done before, can we merge two pictures in terminal. when I say merge I mean merge their differences and keep the common parts and NOT merge them into a bigger size ...
0
votes
2answers
1k views

How to use source within a bash script to change the terminal prompt?

I need to be able to use a script in ~/.local/bin/ (which is part of $PATH) to quickly change the prompt. The desired result can achieved by running the following in a console: echo PS1='$\ ' > /...