Merge branch 'master' of https://github.com/HariSekhon/DevOps-Bash-tools
commit
d8154f99d8
@ -0,0 +1,85 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Sat Jul 1 00:06:15 2006 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
aterm*background: black
|
||||
aterm*foreground: whitesmoke
|
||||
aterm*geometry: 72x24
|
||||
aterm*transparent: true
|
||||
aterm*shading: 50
|
||||
#Looks nice but slows things down too much
|
||||
aterm*fading: 70
|
||||
aterm*cursor: red
|
||||
aterm*scrollBar: false
|
||||
aterm*transpscrollbar:true
|
||||
aterm*scrollBar_right:true
|
||||
aterm*saveLines: 20000
|
||||
aterm*jumpScroll: true
|
||||
aterm*multiscroll: true
|
||||
|
||||
borderlessaterm*background: black
|
||||
borderlessaterm*foreground: whitesmoke
|
||||
borderlessaterm*geometry: 72x24
|
||||
borderlessaterm*transparent: true
|
||||
borderlessaterm*shading: 50
|
||||
#Looks nice but slows things down too much
|
||||
borderlessaterm*fading: 70
|
||||
borderlessaterm*cursor: red
|
||||
borderlessaterm*scrollBar: false
|
||||
borderlessaterm*transpscrollbar:true
|
||||
borderlessaterm*scrollBar_right:true
|
||||
borderlessaterm*saveLines: 20000
|
||||
borderlessaterm*jumpScroll: true
|
||||
borderlessaterm*multiscroll: true
|
||||
|
||||
aterm80*background: black
|
||||
aterm80*foreground: whitesmoke
|
||||
aterm80*geometry: 80x24
|
||||
aterm80*transparent: true
|
||||
aterm80*shading: 50
|
||||
aterm80*fading: 70
|
||||
aterm80*cursor: red
|
||||
aterm80*scrollBar: false
|
||||
aterm80*transpscrollbar:true
|
||||
aterm80*scrollBar_right:true
|
||||
aterm80*saveLines: 20000
|
||||
aterm80*jumpScroll: true
|
||||
aterm80*multiscroll: true
|
||||
|
||||
borderlessaterm80*background: black
|
||||
borderlessaterm80*foreground: whitesmoke
|
||||
borderlessaterm80*geometry: 80x24
|
||||
borderlessaterm80*transparent: true
|
||||
borderlessaterm80*shading: 50
|
||||
borderlessaterm80*fading: 70
|
||||
borderlessaterm80*cursor: red
|
||||
borderlessaterm80*scrollBar: false
|
||||
borderlessaterm80*transpscrollbar:true
|
||||
borderlessaterm80*scrollBar_right:true
|
||||
borderlessaterm80*saveLines: 20000
|
||||
borderlessaterm80*jumpScroll: true
|
||||
borderlessaterm80*multiscroll: true
|
||||
|
||||
xterm*charClass: 33:48,37:48,45-47:48,38:48
|
||||
xterm*background: black
|
||||
xterm*foreground: white
|
||||
xterm*geometry: 80x24
|
||||
xterm*saveLines: 20000
|
||||
xterm*jumpScroll: true
|
||||
xterm*multiscroll: true
|
||||
#xterm*highlightColor: LightSkyBlue
|
||||
xterm*cursorColor: MediumBlue
|
||||
xterm*pointerColor: MediumBlue
|
||||
xterm*internalBorder: 3
|
||||
xterm*scrollBar: false
|
||||
xterm*rightScrollBar: false
|
@ -0,0 +1,9 @@
|
||||
keycode 115 = Super_L
|
||||
add Mod4 = Super_L
|
||||
keycode 116 = Super_R
|
||||
add Mod4 = Super_R
|
||||
clear Mod1
|
||||
keycode 66 = Alt_L
|
||||
keycode 69 = Alt_R
|
||||
add Mod1 = Alt_L
|
||||
add Mod1 = Alt_R
|
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2006-06-28 23:25:09 +0100 (Wed, 28 Jun 2006)
|
||||
#
|
||||
|
||||
# ~/.bash_profile: executed by bash(1) for login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
trap clear EXIT
|
||||
|
||||
# the default umask is set in /etc/login.defs
|
||||
#umask 022
|
||||
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
#welcome
|
||||
|
||||
# from brew install bash-completion
|
||||
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
|
||||
|
||||
#sudo setmixer -V pcm 100
|
@ -1,12 +1,105 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2012-01-31 14:08:42 +0000 (Tue, 31 Jan 2012)
|
||||
#
|
||||
|
||||
# configure your user name and email in ~/.gitconfig.local
|
||||
#[user]
|
||||
# name = Hari Sekhon
|
||||
# email = harisekhon@gmail.com
|
||||
|
||||
[include]
|
||||
path = .gitconfig.local
|
||||
|
||||
[core]
|
||||
# detects filemode changes
|
||||
filemode = true
|
||||
# global .gitignore
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
|
||||
[push]
|
||||
# default = current
|
||||
default = simple
|
||||
|
||||
[alias]
|
||||
br = branch
|
||||
co = checkout
|
||||
ci = commit
|
||||
p = push
|
||||
# Show verbose output about tags, branches or remotes
|
||||
tags = tag -l
|
||||
branches = branch -a
|
||||
remotes = remote -v
|
||||
br = branch
|
||||
co = checkout
|
||||
ci = commit
|
||||
p = push
|
||||
st = status
|
||||
|
||||
# Show verbose output about tags, branches or remotes
|
||||
tags = tag -l
|
||||
branches = branch -a
|
||||
remotes = remote -v
|
||||
|
||||
unstage = reset HEAD --
|
||||
last = log -1 HEAD
|
||||
|
||||
# how to use commands inside git aliases
|
||||
visual = !gitk
|
||||
|
||||
df = diff
|
||||
dc = diff --cached
|
||||
lg = log -p
|
||||
lol = log --graph --decorate --pretty=oneline --abbrev-commit
|
||||
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
||||
ls = ls-files
|
||||
|
||||
# Show files ignored by git:
|
||||
ign = ls-files -o -i --exclude-standard
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
diff = auto
|
||||
grep = auto
|
||||
# do not set always here, use:
|
||||
# -c color.status=always
|
||||
# for specific overrides, otherwise may break gitci and related functions
|
||||
status = auto
|
||||
branch = auto
|
||||
[color "branch"]
|
||||
current = green ul
|
||||
local = yellow
|
||||
remote = red # default
|
||||
plain = white
|
||||
[color "diff"]
|
||||
new = green
|
||||
old = red # default
|
||||
plain = white
|
||||
whitespace = yellow reverse
|
||||
func = yellow
|
||||
frag = cyan # default
|
||||
meta = green bold # default
|
||||
[color "grep"]
|
||||
context = white
|
||||
filename = cyan
|
||||
function = yellow
|
||||
linenumber = green
|
||||
match = red
|
||||
selected = yellow
|
||||
separator = white
|
||||
[color "status"]
|
||||
added = magenta
|
||||
changed = red
|
||||
untracked = cyan
|
||||
branch = magenta blink
|
||||
nobranch = red blink
|
||||
|
||||
[help]
|
||||
# dangerous this just autocorrected my git rename to git rebase, lucky it errored out...
|
||||
autocorrect = 0
|
||||
|
||||
#[difftool "sourcetree"]
|
||||
# cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
||||
# path =
|
||||
#
|
||||
#[mergetool "sourcetree"]
|
||||
# cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
||||
# trustExitCode = true
|
||||
|
||||
#[filter "media"]
|
||||
# clean = git media clean %f
|
||||
# smudge = git media smudge %f
|
||||
# required = true
|
||||
|
@ -0,0 +1,21 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Mon Mar 24 15:22:28 2008 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
[mysql]
|
||||
no-beep
|
||||
reconnect
|
||||
#safe-updates
|
||||
secure-auth
|
||||
show-warnings
|
||||
#sigint-ignore
|
@ -0,0 +1,19 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2006-07-01 23:10:15 +0100 (Sat, 01 Jul 2006)
|
||||
#
|
||||
|
||||
RCfile for "top with windows" # shameless braggin'
|
||||
Id:a, Mode_altscr=1, Mode_irixps=1, Delay_time=3.000, Curwin=0
|
||||
CPU fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
|
||||
winflags=65337, sortindx=10, maxtasks=0
|
||||
summclr=2, msgsclr=6, headclr=2, taskclr=6
|
||||
TIM fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
|
||||
winflags=65337, sortindx=12, maxtasks=0
|
||||
summclr=6, msgsclr=6, headclr=1, taskclr=1
|
||||
MEM fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
|
||||
winflags=65337, sortindx=14, maxtasks=0
|
||||
summclr=5, msgsclr=5, headclr=4, taskclr=5
|
||||
USR fieldscur=AbdEcgfHIjlOPQrstuvyzMKNWX
|
||||
winflags=65337, sortindx=7, maxtasks=0
|
||||
summclr=3, msgsclr=3, headclr=2, taskclr=3
|
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2013-02-18 10:48:12 +0000 (Mon, 18 Feb 2013)
|
||||
#
|
||||
# vim:ts=4:sw=4:et
|
||||
|
||||
DBD::mysql
|
||||
IO::Socket::SSL
|
||||
JSON
|
||||
JSON::XS
|
||||
LWP::Simple
|
||||
LWP::UserAgent
|
||||
Mail::IMAPClient
|
||||
Net::DNS
|
||||
Net::SSH::Expect
|
||||
Test::Kwalitee
|
||||
Net::SSLeay
|
||||
SMS::AQL
|
||||
Text::More
|
||||
Text::Unidecode
|
||||
Thrift::BinaryProtocol
|
||||
Thrift::BufferedTransport
|
||||
Thrift::Socket
|
||||
URI::Escape
|
||||
XML::Simple
|
@ -0,0 +1,325 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Sat Apr 7 13:23:57 2007 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Deb desktop packages - one per line
|
||||
|
||||
#mwcollect
|
||||
#nessus
|
||||
#PEAR-PHP_Shell
|
||||
acpitool
|
||||
adtool
|
||||
air
|
||||
airsnort
|
||||
alsa-utils
|
||||
aosd-cat
|
||||
app-dicts/dictd-dicts
|
||||
app-vim/perl-support
|
||||
apt-file
|
||||
apt-spy
|
||||
arpd
|
||||
arping
|
||||
arptables
|
||||
arpwatch
|
||||
at
|
||||
aterm
|
||||
atftpd
|
||||
audacious
|
||||
autocutsel
|
||||
azureus
|
||||
bash-completion
|
||||
bastille
|
||||
biew
|
||||
bittorrent
|
||||
bonnie++
|
||||
bridge-utils
|
||||
btscanner
|
||||
bum
|
||||
catdoc
|
||||
ccrypt
|
||||
chkrootkit
|
||||
chntpw
|
||||
cksfv
|
||||
clusterssh
|
||||
cmospwd
|
||||
conky
|
||||
cowsay
|
||||
cryptcat
|
||||
csync2
|
||||
curl
|
||||
cvs
|
||||
davl
|
||||
ddrescue
|
||||
debootstrap
|
||||
debsecan
|
||||
denyhosts
|
||||
dev-libs/geoip
|
||||
dev-perl/net-ssh-perl
|
||||
dev-perl/perltidy
|
||||
dhcping
|
||||
dia
|
||||
dialog
|
||||
dnspython
|
||||
dnstop
|
||||
dnstracer
|
||||
dosfstools
|
||||
drbd
|
||||
driftnet
|
||||
dsniff
|
||||
dynagen
|
||||
dynamips
|
||||
e2fsprogs
|
||||
emacs
|
||||
eterm
|
||||
eterm-themes
|
||||
etherape
|
||||
ethstatus
|
||||
ethtool
|
||||
ettercap-gtk
|
||||
evince
|
||||
fcrackzip
|
||||
figlet
|
||||
filelight
|
||||
fluxbox
|
||||
foremost
|
||||
fortune-mod
|
||||
fping
|
||||
ftp
|
||||
gaim
|
||||
games-misc/fortune-mod
|
||||
gcc
|
||||
gdb
|
||||
gdm
|
||||
gdm-themes
|
||||
gftp
|
||||
gimp
|
||||
git
|
||||
git-core
|
||||
gitk
|
||||
gkrellm
|
||||
gksu
|
||||
gnupg
|
||||
gnupg-agent
|
||||
gparted
|
||||
gpm
|
||||
grub
|
||||
gt5
|
||||
gvim
|
||||
harden-doc
|
||||
heartbeat
|
||||
hexedit
|
||||
honeyd
|
||||
hostapd
|
||||
hping2
|
||||
hping3
|
||||
htop
|
||||
httping
|
||||
hunt
|
||||
iceweasel
|
||||
ifstat
|
||||
ike-scan
|
||||
incron
|
||||
iozone
|
||||
ipcalc
|
||||
ipmitool
|
||||
iptables
|
||||
iptraf
|
||||
ipython
|
||||
irssi
|
||||
jedit
|
||||
jhead
|
||||
kde
|
||||
khexedit
|
||||
kismet
|
||||
kodos
|
||||
kolourpaint
|
||||
ksh
|
||||
kvirc
|
||||
labrea
|
||||
ldap-utils
|
||||
ldapscripts
|
||||
ldapvi
|
||||
libc6-dev
|
||||
liblist-allutils-perl
|
||||
liblist-moreutils-perl
|
||||
libnet-cidr-perl
|
||||
libnet-netmask-perl
|
||||
libperl-critic-perl
|
||||
libssl-dev
|
||||
links
|
||||
linux-gazette-all
|
||||
logrotate
|
||||
logwatch
|
||||
lokkit
|
||||
lsat
|
||||
lshw
|
||||
lsof
|
||||
lsscsi
|
||||
luma
|
||||
lvm2
|
||||
lynx
|
||||
m4
|
||||
macchanger
|
||||
magicrescue
|
||||
mailx
|
||||
mboxgrep
|
||||
mc
|
||||
mdadm
|
||||
memdump
|
||||
mercurial
|
||||
most
|
||||
mp3info
|
||||
mtr
|
||||
multitail
|
||||
nagios-nrpe-plugin
|
||||
nagios-plugins
|
||||
nasm
|
||||
nbd-client
|
||||
nbd-server
|
||||
nbtscan
|
||||
ncftp
|
||||
nemesis
|
||||
nepenthes
|
||||
net-snmp
|
||||
net-tools
|
||||
netbeans
|
||||
netcat
|
||||
netdiscover
|
||||
netperf
|
||||
netsed
|
||||
netselect
|
||||
netselect-apt
|
||||
nfs-kernel-server
|
||||
nfs-utils
|
||||
ngrep
|
||||
nikto
|
||||
nmap
|
||||
ntfs3g
|
||||
ntop
|
||||
ntp
|
||||
ntpdate
|
||||
openipmi
|
||||
openldap
|
||||
openssh-server
|
||||
openvpn
|
||||
openvpn-blacklist
|
||||
p0f
|
||||
paketto
|
||||
parted
|
||||
pasco
|
||||
pastebinit
|
||||
pciutils
|
||||
perl-doc
|
||||
php5-cli
|
||||
phrack-all
|
||||
pidgin
|
||||
pidgin-sipe
|
||||
pinentry-gtk
|
||||
piozone
|
||||
pound
|
||||
psh
|
||||
pssh
|
||||
pv
|
||||
pwgen
|
||||
pychecker
|
||||
pydns
|
||||
pyflakes
|
||||
pygobject
|
||||
pylint
|
||||
python-doc
|
||||
rancid
|
||||
rancid-cgi
|
||||
rancid-core
|
||||
rancid-utils
|
||||
rats
|
||||
rdesktop
|
||||
root-tail
|
||||
router-audit-tool
|
||||
rsync
|
||||
sbd
|
||||
scanlogd
|
||||
scanssh
|
||||
screen
|
||||
sec
|
||||
secure-delete
|
||||
sguil-client
|
||||
sguil-sensor
|
||||
sguil-server
|
||||
siege
|
||||
sipcalc
|
||||
slay
|
||||
sleuthkit
|
||||
slocate
|
||||
slurm
|
||||
smb4k
|
||||
snortsam
|
||||
splint
|
||||
squid
|
||||
squid-graph
|
||||
ssmtp
|
||||
steghide
|
||||
strace
|
||||
stunnel
|
||||
subversion
|
||||
sucrack
|
||||
sudo
|
||||
sun-java6-plugin
|
||||
swatch
|
||||
sys-apps/ack
|
||||
syslog-ng
|
||||
sysstat
|
||||
sysv-rc-conf
|
||||
tcpdump
|
||||
tcptrack
|
||||
tct
|
||||
tftp
|
||||
tftpd
|
||||
tilda
|
||||
toilet
|
||||
tomboy
|
||||
traceroute
|
||||
tshark
|
||||
unzip
|
||||
usbutils
|
||||
vim-full
|
||||
virt-manager
|
||||
vlc
|
||||
vnc4server
|
||||
win32codecs
|
||||
wine
|
||||
wipe
|
||||
wireless-tools
|
||||
wireshark
|
||||
wmaker
|
||||
wmaker-data
|
||||
wmctrl
|
||||
wpasupplicant
|
||||
x86info
|
||||
xbattbar-acpi
|
||||
xchat
|
||||
xclip
|
||||
xdotool
|
||||
xfce4-artwork
|
||||
xine-ui
|
||||
xkbset
|
||||
xosd-bin
|
||||
xosview
|
||||
xpdf
|
||||
xprobe
|
||||
xscreensaver
|
||||
xsel
|
||||
xserver-xorg
|
||||
xterm
|
||||
zenity
|
||||
zip
|
||||
zsh
|
@ -0,0 +1,7 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2013-02-18 10:47:57 +0000 (Mon, 18 Feb 2013)
|
||||
#
|
||||
# vim:ts=4:sw=4:et
|
||||
|
||||
jgrep
|
@ -0,0 +1,17 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2019-09-06 17:09:33 +0100 (Fri, 06 Sep 2019)
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# List of Golang software to install via 'go get -u', one per line
|
||||
|
||||
github.com/rakyll/hey
|
@ -0,0 +1,25 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Wed Feb 3 16:44:26 2016 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
PyInstaller
|
||||
autopep8
|
||||
#avro
|
||||
beautifulsoup4
|
||||
#hadoopy
|
||||
kazoo
|
||||
nose
|
||||
pyflakes
|
||||
#pymongo
|
||||
pytest
|
||||
requests
|
@ -0,0 +1,445 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Tue Oct 17 20:25:14 2006 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Gentoo Portage packages to install - one per line
|
||||
|
||||
# hal dep required for network manager and is hal masked, review this
|
||||
# openvas is masked, review this
|
||||
#arptables
|
||||
#bastille
|
||||
#ksh
|
||||
#metasploit
|
||||
#mwcollect
|
||||
#nessus
|
||||
#networkmanager
|
||||
#noscript
|
||||
#openvas
|
||||
#xsupplicant
|
||||
acct
|
||||
acpi
|
||||
acpitool
|
||||
acroread
|
||||
adtool
|
||||
air
|
||||
airsnort
|
||||
alsa-utils
|
||||
apachetop
|
||||
app-admin/analog
|
||||
app-dicts/dictd-dicts
|
||||
app-emacs/gentoo-syntax
|
||||
app-vim/gentoo-syntax
|
||||
app-vim/perl-support
|
||||
argus
|
||||
arp-sk
|
||||
arpd
|
||||
arping
|
||||
arpoison
|
||||
arptools
|
||||
arpwatch
|
||||
aspell
|
||||
at
|
||||
atftpd
|
||||
audacious
|
||||
audacious-plugins
|
||||
audacious-themes
|
||||
audit
|
||||
authforce
|
||||
autobook
|
||||
autocutsel
|
||||
autopsy
|
||||
axel
|
||||
baghira
|
||||
bash-completion
|
||||
bcrypt
|
||||
bcwipe
|
||||
biew
|
||||
bind-tools
|
||||
bitchx
|
||||
bittorrent
|
||||
bonnie++
|
||||
bridge-utils
|
||||
catdoc
|
||||
ccrypt
|
||||
cfengine
|
||||
cfengine-syntax
|
||||
chkrootkit
|
||||
chntpw
|
||||
cksfv
|
||||
clusterssh
|
||||
cmospwd
|
||||
commonbox-styles
|
||||
commonbox-styles-extra
|
||||
conky
|
||||
cowsay
|
||||
cracklib-words
|
||||
cryptcat
|
||||
csync2
|
||||
ctypes
|
||||
curl
|
||||
cvs
|
||||
d4x
|
||||
davl
|
||||
dcfldd
|
||||
dclock
|
||||
dd-rescue
|
||||
ddrescue
|
||||
debootstrap
|
||||
denyhosts
|
||||
dev-libs/geoip
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Net-Netmask
|
||||
dev-perl/net-ssh-perl
|
||||
dev-perl/Perl-Critic
|
||||
dev-perl/perltidy
|
||||
dev-util/git
|
||||
dhcpd-syntax
|
||||
dhcping
|
||||
dia
|
||||
dialog
|
||||
dictd
|
||||
djbdns-man
|
||||
dnspython
|
||||
dnstop
|
||||
dnstracer
|
||||
dnswalk
|
||||
dosdetector
|
||||
dosfstools
|
||||
drbd
|
||||
driftnet
|
||||
dsniff
|
||||
dynagen
|
||||
dynamips
|
||||
e2fsprogs
|
||||
emacs
|
||||
eterm
|
||||
eterm-themes
|
||||
etherape
|
||||
ethstatus
|
||||
ethtool
|
||||
ettercap
|
||||
evince
|
||||
figlet
|
||||
filelight
|
||||
firewalk
|
||||
fluxbox
|
||||
fluxbox-styles-fluxmod
|
||||
fluxbox-syntax
|
||||
foremost
|
||||
fortune-mod
|
||||
fping
|
||||
fragroute
|
||||
ftp
|
||||
games-misc/fortune-mod
|
||||
gdb
|
||||
gdm
|
||||
gdm-themes
|
||||
gentoo-artwork
|
||||
gentoo-artwork-livecd
|
||||
gentoo-bashcomp
|
||||
gentoo-xcursors
|
||||
gentoolkit
|
||||
gftp
|
||||
gimp
|
||||
git
|
||||
git-core
|
||||
gitk
|
||||
gkrellm
|
||||
gksu
|
||||
glsof
|
||||
gnu-netcat
|
||||
gnupg
|
||||
gparted
|
||||
gpm
|
||||
grdesktop
|
||||
grub
|
||||
gspoof
|
||||
gt5
|
||||
gvim
|
||||
gxmessage
|
||||
heartbeat
|
||||
hexedit
|
||||
honeyd
|
||||
hostapd
|
||||
hping
|
||||
html2text
|
||||
htop
|
||||
httperf
|
||||
httping
|
||||
httrack
|
||||
hunt
|
||||
hydra
|
||||
ifstat
|
||||
iftop
|
||||
ike-scan
|
||||
imagemagick
|
||||
incron
|
||||
iozone
|
||||
ip-sentinel
|
||||
ipcalc
|
||||
iperf
|
||||
ipmitool
|
||||
ipsorcery
|
||||
iptables
|
||||
iptraf
|
||||
iputils
|
||||
ipython
|
||||
irssi
|
||||
jad-bin
|
||||
jedit
|
||||
jhead
|
||||
johntheripper
|
||||
k3b
|
||||
kde
|
||||
khexedit
|
||||
kismet
|
||||
knock
|
||||
kodos
|
||||
krdc
|
||||
kuake
|
||||
kuroo
|
||||
kvirc
|
||||
labrea
|
||||
libextractor
|
||||
linkchecker
|
||||
linklint
|
||||
links
|
||||
linux-kernel-in-a-nutshell
|
||||
logrotate
|
||||
logsurfer+
|
||||
logwatch
|
||||
lsat
|
||||
lshw
|
||||
lsof
|
||||
lsscsi
|
||||
luma
|
||||
lvm2
|
||||
lynx
|
||||
m4
|
||||
mac-robber
|
||||
macchanger
|
||||
magicrescue
|
||||
mailx
|
||||
mboxgrep
|
||||
mc
|
||||
md5deep
|
||||
mdadm
|
||||
mdcrack
|
||||
memdump
|
||||
mercurial
|
||||
most
|
||||
mount-cifs
|
||||
mozilla-firefox-bin
|
||||
mozilla-thunderbird-bin
|
||||
mp3info
|
||||
mplayer
|
||||
mtr
|
||||
multitail
|
||||
mysql-gui-tools
|
||||
nagios-plugins
|
||||
nagios-syntax
|
||||
nasm
|
||||
nbaudit
|
||||
nbd
|
||||
nbtscan
|
||||
ncftp
|
||||
nemesis
|
||||
nepenthes
|
||||
net-analyzer/amap
|
||||
Net-CIDR
|
||||
net-im/psi
|
||||
Net-RawIP
|
||||
net-snmp
|
||||
net-tools
|
||||
netbeans
|
||||
netcat
|
||||
netdiscover
|
||||
nethogs
|
||||
netkit-telnetd
|
||||
netperf
|
||||
netscape-flash
|
||||
netsed
|
||||
netselect
|
||||
nettop
|
||||
nfs-kernel-server
|
||||
nfs-utils
|
||||
ngrep
|
||||
nikto
|
||||
nipper
|
||||
nmap
|
||||
nmbscan
|
||||
nsat
|
||||
ntfs3g
|
||||
ntfsprogs
|
||||
ntop
|
||||
ntp
|
||||
ntp-syntax
|
||||
openipmi
|
||||
openldap
|
||||
openssh
|
||||
openvpn
|
||||
openvpn-blacklist
|
||||
ophcrack
|
||||
p0f
|
||||
packETH
|
||||
packit
|
||||
paketto
|
||||
pam-syntax
|
||||
pam_usb
|
||||
paros
|
||||
parted
|
||||
pasco
|
||||
pastebinit
|
||||
pciutils
|
||||
PEAR-PHP_Shell
|
||||
perl-doc
|
||||
pidgin
|
||||
pidgin-sipe
|
||||
pinentry
|
||||
piozone
|
||||
pipebench
|
||||
pipeworks
|
||||
pkcrack
|
||||
portsentry
|
||||
pound
|
||||
pscan
|
||||
psh
|
||||
psi-themes
|
||||
pssh
|
||||
pv
|
||||
pwgen
|
||||
pychecker
|
||||
pydns
|
||||
pyflakes
|
||||
pygobject
|
||||
pylint
|
||||
qtparted
|
||||
rainbowcrack
|
||||
rancid
|
||||
rancid-cgi
|
||||
rancid-core
|
||||
rancid-utils
|
||||
rar
|
||||
rats
|
||||
rdesktop
|
||||
redhat-artwork
|
||||
rkhunter
|
||||
root-tail
|
||||
router-audit-tool
|
||||
rsync
|
||||
samba
|
||||
sbd
|
||||
scanlogd
|
||||
scanssh
|
||||
screen
|
||||
sec
|
||||
secure-delete
|
||||
sguil-client
|
||||
sguil-sensor
|
||||
sguil-server
|
||||
sharutils
|
||||
siege
|
||||
sipcalc
|
||||
sleuthkit
|
||||
slocate
|
||||
slurm
|
||||
smartmontools
|
||||
smb4k
|
||||
snort
|
||||
snortsam
|
||||
SOAP-Lite
|
||||
socat
|
||||
splint
|
||||
squid
|
||||
squid-graph
|
||||
sshfs-fuse
|
||||
ssmtp
|
||||
steghide
|
||||
strace
|
||||
stunnel
|
||||
subversion
|
||||
sudo
|
||||
swatch
|
||||
sys-apps/ack
|
||||
sys-fs/fuse
|
||||
syslog-ng
|
||||
sysstat
|
||||
tcpdump
|
||||
tcpreplay
|
||||
tcpslice
|
||||
tcptrack
|
||||
tct
|
||||
tenshi
|
||||
tftp
|
||||
tftpd
|
||||
thcrut
|
||||
tilda
|
||||
toilet
|
||||
tomboy
|
||||
traceroute
|
||||
trafshow
|
||||
truecrypt
|
||||
tsclient
|
||||
tshark
|
||||
twill
|
||||
twisted
|
||||
unrar
|
||||
unzip
|
||||
upnpscan
|
||||
usbutils
|
||||
usbview
|
||||
vim
|
||||
virt-manager
|
||||
vixie-cron
|
||||
vlock
|
||||
vmware-player
|
||||
vnc
|
||||
vncsnapshot
|
||||
webfuzzer
|
||||
weblint
|
||||
webscarab
|
||||
whoischk
|
||||
win32codecs
|
||||
wine
|
||||
wipe
|
||||
wireless-tools
|
||||
wireshark
|
||||
wmaker
|
||||
wmaker-data
|
||||
wmctrl
|
||||
x11-terms/aterm
|
||||
x86info
|
||||
xchat
|
||||
xclip
|
||||
xdotool
|
||||
xev
|
||||
xfe
|
||||
xine-ui
|
||||
xkbset
|
||||
xlsclients
|
||||
xorg-x11
|
||||
xosd
|
||||
xosview
|
||||
xprobe
|
||||
xrefresh
|
||||
xrestop
|
||||
xrootconsole
|
||||
xscreensaver
|
||||
xsel
|
||||
xterm
|
||||
xvid
|
||||
yakuake
|
||||
yersinia
|
||||
zenity
|
||||
zip
|
||||
zsh
|
@ -0,0 +1,46 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Fri Oct 20 16:44:03 2006 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Gentoo Portage packages to install - one per line
|
||||
|
||||
asmon
|
||||
mountapp
|
||||
wmbio
|
||||
wmblob
|
||||
wmbutton
|
||||
wmclockmon
|
||||
wmcpuload
|
||||
wmcube
|
||||
wmdots
|
||||
wmdiskmon
|
||||
wmdrawer
|
||||
wmfire
|
||||
wmfsm
|
||||
wmhdplop
|
||||
wmifinfo
|
||||
wminet
|
||||
wmix
|
||||
wmlongrun
|
||||
wmMatrix
|
||||
wmmemmon
|
||||
wmmisc
|
||||
wmmon
|
||||
wmnd
|
||||
wmnetload
|
||||
wmnetmon
|
||||
wmpiki
|
||||
wmpower
|
||||
wmtop
|
||||
wmwave
|
||||
xscreensaver-app
|
@ -0,0 +1,86 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Tue Oct 17 20:25:14 2006 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Gentoo Portage packages to install - one per line
|
||||
|
||||
abs-guide
|
||||
alien
|
||||
app-misc/beagle
|
||||
bar
|
||||
bing
|
||||
bittorrent
|
||||
bwmon
|
||||
cherrypy
|
||||
ckermit
|
||||
cmospwd
|
||||
cutecom
|
||||
djbdns
|
||||
echoping
|
||||
flasm
|
||||
ganglia
|
||||
hdparm
|
||||
htdig
|
||||
htmltidy
|
||||
gnome-power-manager
|
||||
krusader
|
||||
iplog
|
||||
ipython
|
||||
iptstate
|
||||
isic
|
||||
kchmviewer
|
||||
kolourpaint
|
||||
linpopup
|
||||
linux-docs
|
||||
linux-gazette-all
|
||||
linux-logo
|
||||
logsentry
|
||||
makepasswd
|
||||
mbrowse
|
||||
minicom
|
||||
mp3_check
|
||||
ndiswrapper
|
||||
net-mail/imapsync
|
||||
netwag
|
||||
netwox
|
||||
opera
|
||||
pbnj
|
||||
pflogsumm
|
||||
phrack-all
|
||||
porthole
|
||||
powertop
|
||||
rain
|
||||
raccess
|
||||
seamonkey
|
||||
siphon
|
||||
smokeping
|
||||
sniffit
|
||||
ssldump
|
||||
sslwrap
|
||||
tmpwatch
|
||||
valgrind
|
||||
watchpid
|
||||
webalizer
|
||||
webmin
|
||||
whowatch
|
||||
windowmaker
|
||||
x11-themes/windowmaker-themes
|
||||
wmctrl
|
||||
xbatt
|
||||
xbattbar
|
||||
xchm
|
||||
xconsole
|
||||
xdiskusage
|
||||
xpdf
|
||||
xpenguins
|
||||
xsimpsons
|
@ -0,0 +1,41 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Tue May 27 20:29:57 2008 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Gentoo Portage packages to install - one per line
|
||||
|
||||
app-emacs/gentoo-syntax
|
||||
app-vim/gentoo-syntax
|
||||
at
|
||||
bash-completion
|
||||
bind-tools
|
||||
denyhosts
|
||||
e2fsprogs
|
||||
ethtool
|
||||
gentoolkit
|
||||
lsof
|
||||
mailx
|
||||
ntp
|
||||
ntp-syntax
|
||||
openssh
|
||||
pam-syntax
|
||||
pciutils
|
||||
portsentry
|
||||
scanlogd
|
||||
slocate
|
||||
sudo
|
||||
syslog-ng
|
||||
traceroute
|
||||
usbutils
|
||||
vim
|
||||
vixie-cron
|
@ -0,0 +1,192 @@
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Tue Mar 18 21:20:52 2008 +0000
|
||||
#
|
||||
# https://github.com/harisekhon/devops-bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# RPM desktop packages - one per line
|
||||
|
||||
#mwcollect
|
||||
acpi
|
||||
acpitool
|
||||
air
|
||||
airsnort
|
||||
alsa-utils
|
||||
app-dicts/dictd-dicts
|
||||
app-vim/perl-support
|
||||
arpd
|
||||
arpwatch
|
||||
aterm
|
||||
atftpd
|
||||
autocutsel
|
||||
bash-completion
|
||||
bittorrent
|
||||
bridge-utils
|
||||
catdoc
|
||||
chntpw
|
||||
clusterssh
|
||||
cmospwd
|
||||
cowsay
|
||||
csync2
|
||||
cvs
|
||||
davl
|
||||
debootstrap
|
||||
denyhosts
|
||||
dev-perl/Net-Netmask
|
||||
dev-perl/net-ssh-perl
|
||||
dev-perl/Perl-Critic
|
||||
dev-perl/perltidy
|
||||
dia
|
||||
dialog
|
||||
dnspython
|
||||
drbd
|
||||
dsniff
|
||||
dynagen
|
||||
dynamips
|
||||
emacs
|
||||
eterm-themes
|
||||
ettercap-gtk
|
||||
evince
|
||||
figlet
|
||||
filelight
|
||||
fluxbox
|
||||
foremost
|
||||
fortune-mod
|
||||
games-misc/fortune-mod
|
||||
gcc
|
||||
gdb
|
||||
geoip
|
||||
git
|
||||
git-core
|
||||
gitk
|
||||
gkrellm
|
||||
gksu
|
||||
gt5
|
||||
gvim
|
||||
heartbeat
|
||||
hexedit
|
||||
honeyd
|
||||
hostapd
|
||||
incron
|
||||
iozone
|
||||
ipcalc
|
||||
ipmitool
|
||||
iptraf
|
||||
ipython
|
||||
irssi
|
||||
jedit
|
||||
jhead
|
||||
kdebase
|
||||
kdenetwork
|
||||
khexedit
|
||||
kodos
|
||||
ksh
|
||||
kubernetes-client
|
||||
kvirc
|
||||
lshw
|
||||
lsscsi
|
||||
luma
|
||||
lvm2
|
||||
m4
|
||||
magicrescue
|
||||
man
|
||||
man-pages
|
||||
mboxgrep
|
||||
mdadm
|
||||
memdump
|
||||
mercurial
|
||||
mp3info
|
||||
mysql
|
||||
MySQL-python
|
||||
mysql-server
|
||||
mytop
|
||||
nagios-plugins
|
||||
nagios-plugins-mysql
|
||||
nasm
|
||||
nbd
|
||||
nbtscan
|
||||
nc
|
||||
nepenthes
|
||||
Net-CIDR
|
||||
net-snmp
|
||||
netbeans
|
||||
netperf
|
||||
netselect
|
||||
nfs-kernel-server
|
||||
nfs-utils
|
||||
nmap
|
||||
ntfs3g
|
||||
openipmi
|
||||
openldap
|
||||
openvpn
|
||||
openvpn-blacklist
|
||||
paketto
|
||||
pasco
|
||||
pastebinit
|
||||
pdfgrep
|
||||
PEAR-PHP_Shell
|
||||
perl-doc
|
||||
pidgin
|
||||
pidgin-sipe
|
||||
piozone
|
||||
pound
|
||||
psh
|
||||
pssh
|
||||
pv
|
||||
pydns
|
||||
pygobject
|
||||
pylint
|
||||
rancid
|
||||
rancid-cgi
|
||||
rancid-core
|
||||
rancid-utils
|
||||
rdesktop
|
||||
router-audit-tool
|
||||
rpm-build
|
||||
rpmlint
|
||||
sbd
|
||||
screen
|
||||
sguil-client
|
||||
sguil-sensor
|
||||
sguil-server
|
||||
sipcalc
|
||||
slurm
|
||||
snort
|
||||
snortsam
|
||||
squid
|
||||
squid-graph
|
||||
strace
|
||||
subversion
|
||||
sys-apps/ack
|
||||
tftp
|
||||
tftpd
|
||||
tilda
|
||||
toilet
|
||||
tomboy
|
||||
tshark
|
||||
virt-manager
|
||||
vlc
|
||||
vnc
|
||||
win32codecs
|
||||
wine
|
||||
wireshark
|
||||
wmaker
|
||||
wmaker-data
|
||||
wmctrl
|
||||
x86info
|
||||
xclip
|
||||
xdotool
|
||||
xkbset
|
||||
xosview
|
||||
xprobe
|
||||
xsel
|
||||
xterm
|
||||
zenity
|
@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim:ts=4:sts=4:sw=4:et
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: 2019-09-18 23:21:50 +0100 (Wed, 18 Sep 2019)
|
||||
#
|
||||
# https://github.com/harisekhon/bash-tools
|
||||
#
|
||||
# License: see accompanying Hari Sekhon LICENSE file
|
||||
#
|
||||
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
||||
#
|
||||
# https://www.linkedin.com/in/harisekhon
|
||||
#
|
||||
|
||||
# Checks if .bashrc and .bash_profile are sourced, otherwise injects source lines in to the $HOME directory equivalents
|
||||
|
||||
set -euo pipefail
|
||||
[ -n "${DEBUG:-}" ] && set -x
|
||||
srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
|
||||
|
||||
setup_file(){
|
||||
local filename="$1"
|
||||
if grep -Eq "(source|\.).+$srcdir/$filename" ~/"$filename" 2>/dev/null; then
|
||||
echo "$filename already sourced in ~/$filename"
|
||||
else
|
||||
echo "injecting into ~/$filename: source $srcdir/$filename"
|
||||
echo "source $srcdir/$filename" >> ~/"$filename"
|
||||
fi
|
||||
}
|
||||
|
||||
setup_file .bashrc
|
||||
setup_file .bash_profile
|
Loading…
Reference in New Issue