All Questions
9 questions
4
votes
1
answer
97
views
Recursively Copy Dotfiles from Git Repo to New System's Home Directory
I manage my dotfiles in a github repo. The idea would be that I could clone the repo if I ever have to develop on a new system and symlink them to the home ...
6
votes
1
answer
555
views
tar-backup V1.01 - backup script for Linux (full and differential backups)
This is the backup script itself. Make it executable and place it somewhere in your path:
...
2
votes
1
answer
73
views
Making a disk usage breakdown
I'm looking for a better way of doing this code I made. I work for tech support and one of the biggest questions I am asked is: "Hey, how did my disk get so full in my VPS?"
I am aiming for output ...
7
votes
2
answers
328
views
Bash script to temporarily run a shell without certain group memberships
I have here a script called rwog (run without groups) that allow a user to run a shell without particular group memberships. ...
8
votes
1
answer
100
views
Spoofs MAC Address to manufacturer of user's choice, Linux or MacOS
I've made a BASh script for Linux/MacOS that allows you to search for a MAC manufacturer and then generates a MAC address from that company and then spoofs it to that using ...
5
votes
1
answer
62
views
Script to record an inventory of a backup
This is a script designed to make an inventory file which records the
contents of a directory allowing verification that a backup has the
same data. The same script can also
A full github repo is ...
2
votes
2
answers
132
views
Split redirecting to multiple files in bash
A function mycommand which runs command and:
Gives me three log-files which are:
*.stdout.log: everything from ...
6
votes
3
answers
45k
views
Small bash script to start and stop named services
I've been working on ubuntu since many years but not quite familiar with bash scripting. My development tools involve servers like nginx and apache, the mysql database and beanstalkd. Obviously, I ...
2
votes
1
answer
178
views
Bash script to manage multiple Java Development Kits installations
I'm writing a bash script to manage multiple JDKs, the script is very simple, you have to choose a directory when you store all the jdk's, and the script maintain ...