An open API service indexing awesome lists of open source software.

https://github.com/inightjar/uniquerock

Bash Scripts for several system operations, User Management Scripts, Storage Information Scripts, Log Messages and Outputs, BackUp Files Easily, Delete Old Files and More Useful Tools.
https://github.com/inightjar/uniquerock

automation bash python scripts

Last synced: about 2 months ago
JSON representation

Bash Scripts for several system operations, User Management Scripts, Storage Information Scripts, Log Messages and Outputs, BackUp Files Easily, Delete Old Files and More Useful Tools.

Awesome Lists containing this project

README

          

# Automate Your Daily System Operations

### User Management

### Create New User Script

![new users creation](https://raw.githubusercontent.com/iNightjar/UniqueRock/main/userCreationScript.gif)

### System Logs

### Show Users Logs, You can select which day too

![Users Logged to sytem](https://raw.githubusercontent.com/iNightjar/UniqueRock/main/usersLogs.gif)

## Getting Started

To get started just clone the repo into your machine and get started..


1. Clone the project to have the file at your localhost.

```bash
git clone https://github.com/iNightjar/UniqueRock.git
cd UniqueRock
git checkout master
rm -rf .git
git init .
git add --all
git commit -m "Your Commit Message"
```

2. Open VSCode to edit scirpt if you like.

```bash
code .
```

The script might not work out of the box, some tweaks and a little bit of hacking is required as explained in Prerequisites

### Prerequisites

First to make the script executable from any directory, create a bin directory in your /home folder.

```bash
~$ mkdir bin
```

Place the scripts you like in the */home/USER/bin* folder and then add the path to it in the .bashrc file
Add this line as the end of your .bashrc file **export PATH=$PATH:/home/USER/bin/** USER being the logged in user

Create a .bash_aliases file if you dont have one and add this line
**alias [type what you want]=[bash file choosen]**.

So as to prevent logging out and in again so as to load the changes done to the *.bashrc* run this command from you home directory

```bash
~$ source ~/.bashrc
```

Once that is done you are ready to go.