Skip to main content

All Questions

Tagged with
120 votes
4 answers
165k views

How can I create a message box from the command line?

How can I create a message box from the command line, either GUI message boxes or message boxes shown inside the terminal? It would also be interesting to be able to get a simple input back from the ...
-4 votes
1 answer
86 views

Find actual file by only file name, not literally everything non-related

PuTTY/SSH and logged in as root I simply want to find any instances of the file PEAR.php. I've looked through a dozen different tutorials but they seem to just copy-paste the same instructions. An ...
1 vote
0 answers
49 views

Shell: Customizing the "Display all N possibilities? (y or n)" message

I already know that double-pressing the Tab key on Bash terminal will enlist all files and folders in the current working directory or, when appropriate, show Linux executables that I can run. I want ...
4 votes
1 answer
2k views

Run vsim from dmenu — it only works when directly invoked in the terminal

Works: vsim, sh -c vsim Doesn't work: echo "vsim" | sh, echo "vsim" | xargs -I {} sh -c "{}" I want to run ModelSim (vsim) with dmenu, which is triggered using xbindkeys. Details vsim is a ...
2 votes
1 answer
3k views

How do i install virtualbox-guest-additions on fedora silverblue

I recently installed Fedora Silverblue on Virtualbox. I tried to install the Virtualbox Guest Additions but it always fails. First, I tried: sudo rpm-ostree install virtualbox-guest-additions But I ...
0 votes
0 answers
81 views

Bash terminal lagging one input behind

After a recent update, I've noticed that working on any terminal for more than a few minutes causes a delay between inputting a keypress and seeing it reflected on the screen. Specifically, if I were ...
1 vote
3 answers
6k views

"Forcing" a kernel panic from the terminal on Linux

I'm using Solus 4.0 (in a VM) and trying to make screenshots of "typical" kernel panic output ("BSOD"). The init system in Solus is systemd. I tried the following commands in the terminal without ...
2 votes
1 answer
120 views

how to change font size locally in xfce-terminal?

Does anyone know if there's a way to change the font-size in xfce-terminal locally (for just one window), preferably on the command line? It's possible to change it globally (for all terminal windows) ...
0 votes
1 answer
53 views

How to specify that an optional argument requires 2 arguments in a zsh competition script?

I am writing a custom competition function for zsh. Currently, I have the following code _arguments \ ... '(-G --glitchpct)'{-G+,--glitchpct=}'[Controls how often the characters on screen glitch]' I ...
1 vote
2 answers
2k views

How to run the command "sudo sh /path/to/script.sh" by double clicking?

I have a question from this thread How to run a bash script by double clicking by entering the path in sudoers?. Since it was explained to me that it is unsafe to grant sudo privileges to the script....
50 votes
2 answers
17k views

How to permanently disable Ctrl-s in terminal?

From here I understand that to disable Ctrl+S the stty -ixon command can be used and it works, but as soon as I close the terminal and open another I have to re-enter the command. To permanently ...
0 votes
1 answer
30 views

The key combination Alt + 6 for copy in nano does not work in GNOME terminal emulator Tilix

The key combination Alt + 6 for copy in nano does not work in tilix Does anyone know how to fix this? I had a look through all the key commands, but did not find any entry for Alt + 6 being already in ...
0 votes
1 answer
139 views

Permission denied error when starting terminal

I'm getting this error when I start my terminal: /home/USERNAME/.config/envman/PATH.env:2: permission denied: /home/USERNAME/.local/bin this is my .zshrc file: # Enable Powerlevel10k instant prompt. ...
0 votes
1 answer
89 views

inotifywait not listening to DELETE event

I'm using the following bash script to test inotifywait. while true; do inotifywait -r -e modify,create,delete "$DIRECTORY_TO_WATCH" done inotifywait is listening to created files: /...
3 votes
3 answers
815 views

Alternatives to file polling?

In the following code, I have to poll $tmp_input to continue executing the code because wezterm cli send-text is asynchronous. This makes sure that $tmp_input is ready. tmp_input=$(mktemp ./tmp_input....

15 30 50 per page
1
2 3 4 5
22