I made a loop to go to each directory so that it executes a command. But I noticed that the entry in the folders is not in alphabetical order.
The loop goes like this:
I'm trying to select the files within a set of directories passed as arguments with the following:
However, this is not ideal, since paths with spaces will break, and quoting the parameter ...
Looking at the manual page, the pgrep and pkill commands are defined as:
pgrep [options] pattern
pkill [options] pattern
Now I'd like to kill (SIGTERM or SIGINT) a node process. The trick is that I'...
A given system has lots text files with names ~= [type of file].[8-digit date].
To search these files, I like (and wanna keep) using this idiom: find /path/ -name 'file.nnnn*' -print | xargs ...
I want to establish a tunnel (ip4ip6) to multiple IPv6 addresses. I'm trying to do something like this:
ip tunnel add sometunnelname mode ip4ip6 local 2001:db8:abab:fefe::1 remote 2001:db8:abab:fefe::/...