place for user scripts to run them from anywhere

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” place for user scripts to run them from anywhere

Tagged: ,

  • This topic has 3 replies, 3 voices, and was last updated May 10-11:00 am by Fonsis.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10140
    Member
    Fonsis

      Hi guys,
      do we have a default folder in antix (32 and 64) for storing user scripts that can be run from anywhere (shell)?
      Thanks! πŸ™‚

      Best regards,
      Fonsis
      πŸ™‚

      #10141
      Member
      fatmac
        Helpful
        Up
        0
        ::

        Accessible to all – /usr/local/bin probably a good place.

        Linux (& BSD) since 1999

        #10147
        Member
        sleekmason
          Helpful
          Up
          0
          ::

          This will allow scripts to be run from your $home folder if you like. Sure makes things easier for script editing and the like.

          mkdir -p "$HOME/bin"
          echo 'PATH="$HOME/bin:$PATH"' >> "$HOME/.bashrc"
          source "$HOME/.bashrc"

          /usr/local/bin is the default for antiX and will suffice if you just want to add a few and forget about them.

          #10154
          Member
          Fonsis
            Helpful
            Up
            0
            ::

            Thanks guys! πŸ™‚

            Best regards,
            Fonsis
            πŸ™‚

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.