python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Run a program when new line appears in dmesg
sudo dmesg -w|grep "Manufacturer: Keychron K1"| xargs -I{} xset r rate 250 70
It does not work, why?
I am trying to reset keyboard settings when the keyboard is reconnected, but I cannot ge...
exebook
Votes: 0
Answers: 2
I have problems with permissions using xargs with rm
I have remove.txt file containing a.txt and b.txt as text. All files are in the same folder, I set chmod 777 for all those files. Now, when I run sudo cat remove.txt | xargs rm I get Permission denied...
Rusvi Kaos
Votes: 0
Answers: 1
Broken terminal after piping fzf + xargs + less on Kitty + Bash
I'm trying to combine fzf output with a command launched through xargs whose output needs to be paginated with less.
The simplest example using basic commands is the following:
echo test | fzf | xargs...
toolleeo
Votes: 0
Answers: 1
Linux run command from file in batches
I got a file which contains thousands of curl post commands. I need to run them in batches of 100.
Input file contains all the commands.
curl -v -XPOST -H "Content-type:application/json" -d ...
user1583465
Votes: 0
Answers: 3