2023-07-25 12:03:11 +00:00
created: 20230725113714725
creator: Octt
2023-10-08 23:05:30 +00:00
modified: 20231008202243333
2023-07-25 12:03:11 +00:00
modifier: Octt
2023-08-25 23:02:03 +00:00
tags: Scripting
2023-07-25 12:03:11 +00:00
title: Shell scripting
<<^wikipediaframe "Shell scripting">>
* Open URL from shell:
** Windows: `start <URL>`
** Linux desktop: `xdg-open <URL>`
** More: https://stackoverflow.com/questions/38147620/shell-script-to-open-a-url, https://askubuntu.com/questions/515947/how-do-i-open-an-url-from-a-bash-script
2023-10-08 23:05:30 +00:00
* [[bash/fish command to print absolute path to a file|https://stackoverflow.com/questions/3915040/how-to-obtain-the-absolute-path-of-a-file-via-shell-bash-zsh-sh#3915075]]
** `realpath example.txt # => /home/me/example.txt`