All Questions
Tagged with terminal command-line
321
questions
0
votes
0
answers
75
views
Open file from terminal in already running "pure data" instance
Whenever I xdg-open patch.pd it will open a new pure data instance, how can I make it open with existing instance?
0
votes
0
answers
40
views
PageUp/PageDown -- how to catch properly?
I am here on a tutorial to build a text editor.
I'm finding that on my macOS (it works on a Linux VM), even with raw mode enabled, I'm unable to intercept Page Up and Page Down, which are sent via fn-&...
0
votes
1
answer
136
views
Auto-translation of newline characters in the terminal
I'm following along here.
I notice (this is not complete, just for demonstration) that at this point:
#include <termios.h>
raw.c_iflag &= ~(ICRNL | IXON);
raw.c_oflag &= ~(OPOST);
...
0
votes
1
answer
971
views
Depmod command not found but kmod is already installed
When I use depmod in the terminal, I got the message "depmod command not found". But kmod is already installed.
And I can find a link to something called depmod in sbin.
Do you know how to ...
9
votes
1
answer
2k
views
What does >&- do in a unix / linux terminal?
I'm not too knowledgeable in the Unix command line. I found this SO answer for using the tee command without outputting to stdout, by "closing stdout" with >&- like this:
echo 'hello ...
1
vote
0
answers
190
views
Is there a terminal-based image viewer that enables directory browsing after viewing a single file?
I am searching for a lightweight terminal image viewer like feh,meh, sxiv, pqiv, or qiv, with the end objective of having a terminal image viewer that allows you to explore all pictures in a folder ...
0
votes
1
answer
105
views
What is the number inside the parenthesis on a Linux command? [duplicate]
What is 1? What is 3? What are the numbers called and is there a full list with explanations?
$ whatis nvim
nvim (1) - edit text
$ whatis printf
printf (3) - formatted output ...
0
votes
0
answers
132
views
the way to put the current line at the top of terminal
In a linux terminal, how to always put the current line at the top of the terminal.
I tried z but it did not work, as it only works for vim.
0
votes
0
answers
513
views
Trying to change "non command" color in kitty terminal (ver. 0.21.2) using the fish (ver. 3.3.1) shell with the oh-my-fish theme slacker
I've been trying to change the color of non-command such as the picture below (the uncompleated 'help')
link to the theme im using in omf: https://github.com/maqboolkhan/omf-theme-slacker
my kitty....
1
vote
1
answer
331
views
Can a quiet zip still show warnings for missing files?
I often use zip with the -q flag (actually -r -q) for a quiet operation at the command line. Routinely I also then unzip each file I create, and check by eye whether the contents look correct; before ...
0
votes
1
answer
972
views
How to check BIOS Settings from Terminal (CentOS 7)?
I am trying to verify three BIOS settings on remote Linux machines (Dell OptiPlex 3090) with CentOS 7 on them. I want to check AC Recovery is Enabled, Wake on LAN, and Block Sleep.
I've tried multiple ...
2
votes
1
answer
124
views
Arithmetic operation in terminal from an output
I want to print the lines of updates via this command
dnf check-update --refresh --q --downloadonly | wc -l
However during the output there occurs a blank line which means the true update number is ...
0
votes
2
answers
666
views
Confused about bash prompt meaning
I found out that in bash, the $PS1 variable can be modified to change the prompt. The problem is that I'm having some trouble trying to understand the long string of codes that I was given.
I did:
...
0
votes
1
answer
1k
views
Display & edit tabular data in the terminal
I'm looking for an app to display & edit CSV files as a tabular data in cells, similar to GUI spreadsheets like LibreOffice Calc.
I just need simple viewing, cell editing & easy navigation ...
0
votes
1
answer
184
views
How to source from stdout for both Linux and MacOS?
On Linux I can do:
source <(cat .env | grep ANDROID_GRADLE_TASK)
But on MacOS, this doesn't do anything (no error, and no source)
I have tried to replace -di with --decode --input, it didn't help.
...