#shell script

[ follow ]
#shell-script
Alvinalexander
2 years ago
Scala

A MySQL database backup (mysqldump) shell script

Creating a simple MySQL database backup shell script using mysqldump on Linux servers. [ more ]
Alvinalexander
6 months ago
Scala

A Scala shell script example (and discussion)

To run a Scala script as a Unix/Linux shell script, use a special syntax in the script file.
The 'exec' command in the shell script uses $0 to refer to the script file and $@ to refer to positional parameters. [ more ]
Alvinalexander
7 months ago
Scala

Unix/Linux: Changing many files with the same multiline string pattern

Use awk and a Unix shell script to edit the content of multiple files
Be cautious and make backups before making mass changes to files [ more ]
Alvinalexander
2 years ago
Scala

A MySQL database backup (mysqldump) shell script

Creating a simple MySQL database backup shell script using mysqldump on Linux servers. [ more ]
Alvinalexander
6 months ago
Scala

A Scala shell script example (and discussion)

To run a Scala script as a Unix/Linux shell script, use a special syntax in the script file.
The 'exec' command in the shell script uses $0 to refer to the script file and $@ to refer to positional parameters. [ more ]
Alvinalexander
7 months ago
Scala

Unix/Linux: Changing many files with the same multiline string pattern

Use awk and a Unix shell script to edit the content of multiple files
Be cautious and make backups before making mass changes to files [ more ]
moreshell-script
Alvinalexander
10 months ago
Web development

How to close a Mac OS X app from a shell script (or command line)

The command 'osascript -e 'quit app "Safari"'' can gracefully close a MacOS application.
The command can be used in automation scripts to close specific applications. [ more ]
[ Load more ]