I'm not seeing any ? marks in my code. Are you referring to the instances of $'\t'? In bash (and other shells, including recent versions of the POSIX sh specification) $'...' is treated like a C-style string complete…
A variant: docker image ls -a | stdbuf -oL sed -r 's/\s{2,}/\t/g' | { head -n1; tail -n+2 | sort -hrk5 -t$'\t'; } | column -ts$'\t' I used docker since that's what I have installed and I assume the output is equivalent.…
You can use Ctrl+z to suspend the foreground process, bg to resume it in the background, and then wait to wait for it to complete. By default wait will wait for all jobs to finish and then return a success exit code,…
You could install the Google Drive client and then run WinDirStat against the virtual drive letter that it creates: https://support.google.com/drive/answer/10838124
In Firefox you can go to about:profiles to easily open new windows using other profiles. I bookmark that page with a keyword for quick access. (Also see about:about for a list of other handy 'about' pages) A more…
gf2 is worth looking at: https://github.com/nakst/gf
Something to watch out for with nl is that by default it doesn't number empty lines. e.g.: $ printf 'one\n\nthree\n' | nl 1 one 2 three Set -ba to enable numbering all lines. For this use case I usually end up running…
Your original command should work fine. find does not pass arguments through an intermediate shell, so there are no quoting concerns with regard to spaces in filenames, etc. And with the form of -exec terminated by a ;…
I did something similar using the 'at' daemon's 'now' time specification to "fork" off background tasks from a web request using the same .php file. It actually worked well for what I needed at the time!
Another plus of DroidCam is that it supports streaming the video over USB so no WiFi is necessary.
I'm not seeing any ? marks in my code. Are you referring to the instances of $'\t'? In bash (and other shells, including recent versions of the POSIX sh specification) $'...' is treated like a C-style string complete…
A variant: docker image ls -a | stdbuf -oL sed -r 's/\s{2,}/\t/g' | { head -n1; tail -n+2 | sort -hrk5 -t$'\t'; } | column -ts$'\t' I used docker since that's what I have installed and I assume the output is equivalent.…
You can use Ctrl+z to suspend the foreground process, bg to resume it in the background, and then wait to wait for it to complete. By default wait will wait for all jobs to finish and then return a success exit code,…
You could install the Google Drive client and then run WinDirStat against the virtual drive letter that it creates: https://support.google.com/drive/answer/10838124
In Firefox you can go to about:profiles to easily open new windows using other profiles. I bookmark that page with a keyword for quick access. (Also see about:about for a list of other handy 'about' pages) A more…
gf2 is worth looking at: https://github.com/nakst/gf
Something to watch out for with nl is that by default it doesn't number empty lines. e.g.: $ printf 'one\n\nthree\n' | nl 1 one 2 three Set -ba to enable numbering all lines. For this use case I usually end up running…
Your original command should work fine. find does not pass arguments through an intermediate shell, so there are no quoting concerns with regard to spaces in filenames, etc. And with the form of -exec terminated by a ;…
I did something similar using the 'at' daemon's 'now' time specification to "fork" off background tasks from a web request using the same .php file. It actually worked well for what I needed at the time!
Another plus of DroidCam is that it supports streaming the video over USB so no WiFi is necessary.