From LedHed's Wiki
Jump to: navigation, search
Line 7: Line 7:
 
''Basic usage: nmap 192.168.0.1 ''
 
''Basic usage: nmap 192.168.0.1 ''
 
<br>
 
<br>
 +
<br>
 +
grep = Hard to explain, Filtering utility.
 +
''Basic usage: grep 'FilterString' filename
 +
''Usefull grep options:''
 +
-i 'FilterString'  =  case insensitive
 +
-b #                =  Display # number of lines BEFORE a match
 +
-a #                =  Display # number of lines AFTER a match
 +
-v                  =  Invert Match or Exclusion
 +
['FilterString1'\|'FilterString2'\|'FilterString3']  Multiple Filters
 
<br>
 
<br>
 
More To Come..
 
More To Come..
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 17:22, 7 September 2006

Linux Commands that I rarely use and often forget.

pwd = (Print Working Directory) Displays the current directory you're in.
nmap = (Network Map) Utility that displays open network ports.
Basic usage: nmap 192.168.0.1

grep = Hard to explain, Filtering utility. Basic usage: grep 'FilterString' filename Usefull grep options:

-i 'FilterString'   =   case insensitive
-b #                =   Display # number of lines BEFORE a match
-a #                =   Display # number of lines AFTER a match
-v                  =   Invert Match or Exclusion
['FilterString1'\|'FilterString2'\|'FilterString3']  Multiple Filters


More To Come..