From wikistone
Jump to: navigation, search
 
(22 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==General==
 
==General==
 
* AD integration
 
* AD integration
 +
* [[firewalld]]
 
* iptables
 
* iptables
−
* [[watch]] ie repeat a command
 
−
* [[find]] stuff
 
 
* [[NTP]] goodness lies here.
 
* [[NTP]] goodness lies here.
−
 
+
* [[shell]] stuff
−
 
+
* [[vi]] stuff
−
==shell==
+
* [[iperf]] stuff
−
===regex===
+
* [[Layer 2/3 tools]] like arping
−
* <nowiki />* any char
+
* [[rsyslog]]
−
* ? single char
+
* sed and awk
−
* [characters] all chars
+
** [[RegEx]]
−
* [!characters] not all chars
+
** [[sed]]
−
* <nowiki>[[:class:]]</nowiki> specified class
+
** [[awk]]
−
** [:alnum:]
+
* [[tar]]
−
** [:alpha:]
+
* [[tcpdump]]
−
** [:digit:]
+
* [[routes]]
−
** [:lower:]
 
−
** [:upper:]
 
−
examples:
 
−
{| class="wikitable"
 
−
|-
 
−
! pattern !! match
 
−
|-
 
−
| a*b || a, any # chars, b
 
−
|-
 
−
| poo??? || poo then any 3 char
 
−
|-
 
−
| [abc] || an a, b, or c
 
−
|-
 
−
| poo.[0-9][0-9][0-9] || poo. then any 3 #
 
−
|-
 
−
| <nowiki>[[:upper:]]*</nowiki> || any beginning with an upper
 
−
|-
 
−
| <nowiki>[![:digit:]]*</nowiki> || any not beginning with a digit
 
−
|-
 
−
| <nowiki>*[[:lower:]123]</nowiki> || <nowiki>and ending with lower or 1|2|3</nowiki>
 
−
|}
 
−
 
 
−
===std in, out, & err===
 
−
* 0 : in
 
−
* 1 : out
 
−
* 2 : error
 
−
====redirection====
 
−
out
 
−
<pre>$ [command] > [dump_location]</pre>
 
−
err
 
−
<pre>$ [command] 2> [dump_location]</pre>
 
−
out & err old way
 
−
newer way
 
−
<pre>$ [commnad] > [dump_location] 2>&1
 
−
$ [commnad] &> [dump_location]</pre>
 
−
append std to dump_location
 
−
<pre>$ [command] >> [dump_location]
 
−
$ [command] &>> [dump_location]</pre>
 
−
 
 
−
 
 
−
===repeat a function===
 
−
Add this to ~/.bashrc for persistance.
 
−
<pre>function repeat { while 1 ; do "$@" ; sleep 1 ; done; }</pre>
 
  
 
==Arch==
 
==Arch==
−
How to install [[packer]].
+
[[Arch base install]].<br>
 +
How to install [[packer]].<br>
 +
[[KDE]] install and setup.<br>
 +
The dread pirate [[ATI_Catalyst_driver]].<br>
  
 
.
 
.

Latest revision as of 16:30, 20 October 2024


General

Arch

Arch base install.
How to install packer.
KDE install and setup.
The dread pirate ATI_Catalyst_driver.

.