Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Linux-Batch-Commands

Creates a Linux alias and adds the ability to run Multiple Cutomized commands underneath that alias.

call the alias once installed for more info.

Setup

  • Download/clone the repo
  • call the executable setup.sh AliasName DirectoryDownloadedToo
  • Whalla! Package Installed

Adding Commands

  • add command name to static-commands.txt
  • create a folder with the command name, it has to be all lower case and spaces are replaced with underscores
  • add an executable run.sh file and a help.txt file
  • copy the files needed to run the command in the created folder
  • call the nessacary commands in the run.sh file

Tips

  • The first argument passed into run.sh is the current user directory
  • the other arguments are the arguments passed after the command, if you only want that info then use ${@:2} to get the rest of the commands
  • help file will be printed into the console when called alias -h command

Warning: Don't trusted other people commands there isn't any security mesures past the measure given by the os.

About

Creates a Linux alias and adds the ability to running commands underneath that.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages