Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Script Permissions and Names

chmod +x ~/somecrazyfolder/script1

  • If you want to restrict its use to just your user, you can use this instead:

chmod u+x ~/somecrazyfolder/script1

  • to run a bash script

    • you just right the script name if you have #!/bin/bash at the top of it.
  • To make things more convenient, you can place scripts in a “bin” folder in your home directory:

    • By placing scripts here, you can just run them by typing their name, just like other commands, instead of having to cd around

~/bin

  • before you name a script, do this and check if you have a program installed that uses that name

which scriptNameHere

  • comments start off with the # tag

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages