Wiki 42

Search
Skip to content

Monthly Archives: August 2013

Linux

iptables

2013-08-27 Tomislav Vlahović Leave a comment

Allowing Incoming Traffic on Specific Ports

sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
Uncategorized

Recursively Search All Files For A String

2013-08-22 Tomislav Vlahović Leave a comment
grep -r "string" /etc
grep -ri "string" /etc
grep -ri -l "string" /etc
find /etc -type f -exec grep -l "string" {} +

Source

Linux

Using /dev/urandom to generate passwords

2013-08-21 Tomislav Vlahović Leave a comment
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10| head -n 4

Source: http://blog.colovirt.com/2009/01/07/linux-generating-strong-passwords-using-randomurandom/

dz42 Wiki & Knowledge Base

Recent Posts

  • Move WordPress to a New Domain Without Losing SEO
  • Sublime preferences
  • 2016 – Books read
  • Defeat annoying copy&paste blockers
  • msql is in bounds search

Recent Comments

    Archives

    • November 2016
    • January 2016
    • November 2015
    • October 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • December 2014
    • November 2014
    • October 2014
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • May 2014
    • April 2014
    • March 2014
    • February 2014
    • January 2014
    • November 2013
    • October 2013
    • September 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • April 2013
    • March 2013
    • February 2013
    • January 2013

    Categories

    • Asp
    • Bookmarks
    • Books
    • Django
    • Docker
    • ExtJS
    • Facebook API
    • Geek
    • Graphics
    • JavaScript
    • jQuery
    • Linux
    • Modding
    • MySql
    • PHP
    • PostgreSQL
    • Python
    • Sublime
    • Uncategorized
    • Windows
    • Wordpress

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Proudly powered by WordPress