Skip to main content

All Questions

Tagged with
1 vote
1 answer
351 views

Why username and root are missing in linux server after installing tools with conda?

On the Linux server, I have my username that looks like below: (base) [david@meteor ~]$ I tried installing some tools using conda with the following: conda install -c bioconda or conda install -c ...
user9114's user avatar
0 votes
1 answer
537 views

Warp terminal launch through skhd

Did anyone get [Warp Terminal][1] to work with [skhd][2]? I use to use Kitty with cmd - return : /Applications/kitty.app/Contents/MacOS/kitty --single-instance -d ~ I'm trying to get launch it with: ...
Anders Aaen Springborg's user avatar
1 vote
1 answer
271 views

Unable to get terminal prompt when executing script via ssh

I have the below script that works fine when run locally cat /tmp/input.sh echo -n ">> " read env exit; I get the command prompt when i ...
Ashar's user avatar
  • 511
0 votes
1 answer
204 views

How can I create a .txt file containing data being generated in real-time in Linux terminal when a program is running?

I am running an AutoDock Vina program (using a Perl script) in Linux.  It generates lots of important data (regarding binding free energy of protein-ligand docked complexes).  However, I cannot save ...
Alvea Tasneem's user avatar
-1 votes
1 answer
113 views

Reading a file when logged in as another user

I have an issue with the following: I use the following command su -l alice then enter her password. Then I am asked to read the /root/token.txt file. I have tried the cmd "cat /root/token.txt&...
Dai Rhys-Jones's user avatar
0 votes
0 answers
197 views

How to change Linux terminal prompt

I've been using Terminator as my terminal but after reconfiguring my display manager to 'Lightdm' after 'gdm3' crashed while installing updates, I messed something up, not with terminal, using the GUI ...
George's user avatar
  • 1
1 vote
1 answer
520 views

I3 WM bindsym giving error but in terminal, works fine

I have this in my i3 config to restart picom: bindsym $mod+Shift+P exec killall picom; sleep 0.2; picom It works fine in terminal but when I press the keybinding, it shows error, and it just says you ...
Sahaj Bhatt's user avatar
1 vote
1 answer
634 views

terminal not displaying outputs properly

terminal is not displaying outputs properly, it displays outputs mostly like given in the image below while it should display outputs like this any suggestions on how it can be fixed?
knkadnk's user avatar
  • 11
1 vote
1 answer
117 views

Shell scripts: How to copy past outputs of terminal emulator?

I want to make a shell script which copies the past outputs of the GUI terminal emulator (for example, last 20 lines). The motivation is as following: When I execute a procedure which requires long ...
user356126's user avatar
6 votes
2 answers
3k views

What exactly handles the Ctrl+X shortcut family (e.g. Ctrl+X Ctrl+E) in Linux terminals?

I've seen a lot of online resources mention several compound shortcuts beginning with Ctrl+X : Ctrlx Ctrle : Edits the current line in the $EDITOR program, or vi if undefined. Ctrlx Ctrlr : Read in ...
Alexander Gonchiy's user avatar
0 votes
0 answers
76 views

I read "Advantages of using set -o vi" and have a question about same

Followup-up on Advantages of using set -o vi I'm learning vi and know nothing about emacs. I also type poorly and frequently need to edit my commands in the terminal. The idea of using vi to edit my ...
LarryS's user avatar
  • 1
0 votes
1 answer
580 views

Is there a way to programmatically set DISPLAY when executable is run as sudo instead of failing?

When I run any GUI application on Linux (Ubuntu) using sudo command from the Terminal, the application fails with QT error as below. Almost every application fails when attempted; here is an example ...
Vijesh K's user avatar
2 votes
1 answer
769 views

hdparm secure erase with progress updates?

Does anyone know of a clever way to receive any sort of progress status updates using hdparm secure erase? Ideally the end result would be something like dd's status=progress attribute.
andDevW's user avatar
  • 121
2 votes
1 answer
1k views

Creating XFCE4 Application Shortcuts from the terminal (CentOS)

I am trying to add a new application shortcut in the command line which will load the terminal when you press Ctrl + Alt + T. I am using the xfconf-query utility to monitor xfce4-keyboard-shortcuts ...
hymcode's user avatar
  • 83
0 votes
2 answers
767 views

Run command after file manager (Thunar) window is closed

I am writing a simple script where I need to open a directory dirname with Thunar and delete that directory after closing the Thunar window. I was expecting something like thunar $dirname && ...
soap's user avatar
  • 173

15 30 50 per page
1 2
3
4 5
22