Skip to content

adcin/cinscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various scripts:

Download repo and make scripts executable:

git clone https://github.com/adcin/cinscripts.git && \
chmod 750 *.cin.sh

Alternatively copy all *.cin.sh scripts to ~/bin

Use the ~/bin folder for your private scripts, so you can execute them from everywhere.

1. Check .profile, if PATH to ~/bin is set

nano ~/.profile

Isert or uncomment the following code if neccesary:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

To activate the changes in PATH, you should relog.

2. Clone the repository

git clone https://github.com/adcin/cinscripts.git ~/git/cinscripts

3. Make scripts executable

chmod 750 ~/git/cinscripts/*.cin.sh

4. Copy the scripts to ~/bin

cp ~/git/cinscripts/*.cin.sh ~/bin

5. Optional - Remove the ~/git/cinscripts directory

rm -r ~/git/cinscripts

Steps 2-5 in one command:

git clone https://github.com/adcin/cinscripts.git ~/git/cinscripts && \
chmod 750 ~/git/cinscripts/*.cin.sh && \
cp ~/git/cinscripts/*.cin.sh ~/bin && \
rm -r ~/git/cinscripts

About

Collection of various scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages