#!/usr/bin/perl # wgrep.pl - windowed grep utility #!/usr/bin/perl # wgrep.pl - windowed grep utility use strict; use IO::File; use IO::Handle; my ($before,$after,$show_stars,$show…
posts
343
cats
150
latest
3h
Shell/BASH/
#
ico
title
category
date
Shell Script: Solaris Script Tool wgrep
2013-05-22
4 min →
Script: Solaris Script Tool PCP
0: Which process has port 22 open? #!/usr/bin/ksh # # PCP (PID con Port) # v1.10 08/10/2010 Sam Nelson sam @ unix.ms # # If you have a Solaris 8, 9 or 10 box and you can't # instal…
2013-05-22
2 min →
Configuration: mysql in .bashrc
#mysql alias mysql="mysql –pager='less -niSFX'"
2013-05-17
1 min →
SHELL: MT Raw Magnetic Tape
$ for drive in 0 1 2 3 4 5 6 7 > do > mt -f /dev/rmt/$drive status > done
2013-05-17
1 min →
Shell: Command: fping group of ip addresses
fping -a -q -g 192.168.0.0/24
2013-05-07
1 min →
Remove all comments and empty lines
Grep will remove all comments and sed will remove all empty lines # grep -v "^#" /etc/squid/squid.conf | sed -e '/^$/d' Same with sed # cat /etc/squid/squid.conf | sed '/ *#/d; /^…
2010-03-18
1 min →
Protected: Backup Script
Cron: 30 23 * * 5 /root/backup_script backup_script #!/bin/bash FROM="/PROD/" FROMIP="192.168.142.146" TOIP="192.168.142.185" TO="/mirror" BLOG=$TO"/backup.log" function logmsg {…
2010-03-16
1 min →
Trending — all time
view all →Linked elsewhere
9 bookmarksCYBERSECURITY
Assessment Templates
crfsecure.org ↗
Hack the Logs
hackthelogs.com ↗
https://github.com/cosai-oasis/
github.com ↗
OpenSOC
opensoc.io ↗
PRODUCTIVITY
fastmail.com
fastmail.com ↗
hardtime.nvim
github.com ↗
jwno (tiling WM)
agentkilo.itch.io ↗
Obsidian
obsidian.md ↗
REFERENCE
server-world.info
www.server-world.info ↗