https://github.com/mixelpixel/shell
shell scripts
https://github.com/mixelpixel/shell
Last synced: 7 months ago
JSON representation
shell scripts
- Host: GitHub
- URL: https://github.com/mixelpixel/shell
- Owner: mixelpixel
- Created: 2016-09-18T06:44:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T04:55:20.000Z (about 9 years ago)
- Last Synced: 2024-12-28T18:55:31.987Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shell scripts
Currently using __gnome-terminal__ on *Ubuntu* 14.04
https://guides.github.com/features/mastering-markdown/
http://askubuntu.com/questions/38661/how-do-i-run-sh-files
`chmod +x /path/to/yourscript.sh`
`./`
There is an alternative to the octothorpe for comments:
http://stackoverflow.com/questions/18354489/how-to-comment-out-particular-lines-in-a-shell-script
An equivalent to PowerShells `ii` (invoke-item) is `gnome-open `
e.g. `gnome-open ~` opens the home directory.
Also, an equivalent to `ii .` to open the current working directory is `gnome-open .`
How to make a command? Or an alias which invokes a shell script, like the nap.sh script?
http://unix.stackexchange.com/questions/84686/how-to-create-custom-commands-in-unix-linux