mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-26 12:52:43 +01:00
d82a0e1f49
If something requires root, alias will run "sudo command" instead of that command. Running only command will only say "This must be run as root." But there is one expection. Nmap-traceroute doesn't require root, but it will say "traceroute requires root, cancelling" and tells that the host is up (or down depending on it). I added sudo for it, because we usually want to see traceroute if we want traceroute. This is the longest commit message which I have ever written. Maybe I will write longer someday... |
||
---|---|---|
.gitignore | ||
bash_aliases | ||
bash_exports | ||
bash_functions | ||
bash_profile | ||
bashrc | ||
install.sh | ||
README | ||
uninstall.sh | ||
upgrade.sh |
Bashrc file and other files which it depends on by Mika Suomalainen (Mkaysi). INSTALLATION: Move to folder of this git repo. chmod +x ./install.sh ./install.sh UNINSTALLATION: Move to folder of this git repo. chmod +x ./uninstall.sh ./uninstall.sh WARNING! DO NOT USE INSTALL.SH TO UPDATE OR YOU WILL LOSE AUTOMATIC BACKUP, WHICH WAS TAKEN WHEN YOU RAN INSTALLATION SCRIPT. Notices: bashrc: I have uncommented line 42. bash_exports: The default editor is nano (line 4). bashrc_exports: Timezone is Europe/Helsinki, line 14. bashrc: autocd is enabled. bashrc: if you have read every notice, comment line 1 in your ~/.bashrc . DISCLAIMER: Author of this git repository is not responsible for any data loss or any other harms, which might be because of these files. Author: Mika Suomalainen (Mkaysi). License: There aren't any license, but please mention that I created this and where did you get this file. If something is copy-pasted here from somewhere, it reads in that file. Original sources: GitHub gist: This first appeared here: https://gist.github.com/1142884 GitHub: Because this has 9 files, I created repo for this: https://github.com/Mkaysi/bash-things (Please note that I am pushing to both of them.