All Questions
Tagged with terminal command-line
321
questions
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 ...
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:
...
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 ...
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 ...
-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&...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 && ...