Explanation of XARGS
SIMPLE EXPLANATION OF XARGS ########################### command1 | xargs command1 Take the output of a command1 and use it as the argument of the next command2, useful when alot of output.Read More…
SIMPLE EXPLANATION OF XARGS ########################### command1 | xargs command1 Take the output of a command1 and use it as the argument of the next command2, useful when alot of output.Read More…
WIRELESS CHEATSHEAT FOR DEBIAN ############################## –QUICK INSTALL— apt-get install wireless-tools aptitude install wireless-tools apt-get install wpasupplicant –OR– Debian 7.0 “Wheezy” Add a “non-free” component to /etc/apt/sources.list, for example: # DebianRead More…
Most likely your server is a Linux server, if its a windows server then download wireshark and start captureing packets… If your using linux though… First check if your server is listeningRead More…
HOW TO SETUP RSYSLOG TO LISTEN ON UDP AND TCP AND SAVE LOGS TO FOLDER BASED ON IP Testing with rsyslog server (syslog port 514 on udp and tcp), and pointing clientRead More…
COPY OF SITE – I have an OCD thing about thinking peoples sites might be down one day, so I copy paste the material out, but I still give full credit whereRead More…
WHATS USING SAMBA ################## LSOF ARTICLE: Here —-cheat sheet—- lsof -c smbd for i in `pidof smbd`; do echo “====PID $i====”; echo COUNT: `ls /proc/$i/fd | wc -w`; ls -lah /proc/$i/fd/; done cdRead More…
OS BITS ON LINUX/DEBIAN 64 or 32 bit ################################## So your on this step of your debian install: http://www.debian.org/CD/http-ftp/#stable When you pick the debian distro to download it asks for amd64 armelRead More…
BEST WAY TO DOWNLOAD FULL WEBSITE WITH WGET UPDATED NEW ARTICLE HERE: wget – new article covers this and also how to download from directory/browseable websites. NOTE: below worked when my site wasRead More…
How to combine/merge 2 or more folders virtually(sym/hardlinks): ################################################################# ################################################################# URL: http://unix.stackexchange.com/questions/40634/in-ubuntu-is-there-a-way-to-virtually-merge-two-folders-without-unionfs-or-aufs Lets say you have a Movies1 and Movies2 folder and you want their contents to be visible through a MoviesRead More…
Want to monitor how fast space is being cleared or used up. The resolution of this script isnt as good as I prefer it to be, I put 60 seconds to getRead More…