Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Extended Globbing in Bash
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Enable Extended Globbing
shopt -s extglob
Or you can run bash with the option -O extglob
.
/bin/bash -O extglob -c "your command to run"
Set Shell to be Bash with …
Useful Tools in Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
IceWalkers is a great place to find software/tools for all kinds of purposes.
Project
Server/Desktop Management
Linux Desktop Environment
Linux Package Management
Terminal Tools
Administer
Disk Maintenance
Admin Tools …
Rust and Spark
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The simplest and best way is to leverage pandas_udf
in PySpark.
In the pandas UDF,
you can call subprocess.run
to run any shell command
and capture its output.
from pathlib …
Sudo: No TTY Present and No AskPass Program Specified
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Sudo: No Tty Present And No Askpass Program Specified
sudo -S
JavaScript Alternatives to Shell
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://github.com/shelljs/shelljs
https://tutorialedge.net/javascript/nodejs/executing-shell-scripts-with-nodejs/