sort FILE | uniq --repeated --count
sort FILE | uniq -d -c
sh -xc "perl SCRIPT.pl --option1 --option2 argument FILE" > OUTPUT_FILE 2>&1 |
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<DL> | |
<DT><A HREF="https://en.wikipedia.org/wiki/%S" ADD_DATE="1694962643" LAST_MODIFIED="1694962643" SHORTCUTURL="wp" TAGS="keywords, WikiMedia">Wikipedia</A> | |
<DT><A HREF="https://en.wiktionary.org/wiki/%S" ADD_DATE="1694962530" LAST_MODIFIED="1694962653" SHORTCUTURL="wt" TAGS="keywords, WikiMedia">Wiktionary</A> | |
<HR> | |
<DT><A HREF="https://man.freebsd.org/cgi/man.cgi?query=%s" ADD_DATE="1694962793" LAST_MODIFIED="1694962793" SHORTCUTURL="fm" TAGS="keywords, Unix">FreeBSD</A> | |
<DT><A HREF="https://man.openbsd.org/%s" ADD_DATE="1694962755" LAST_MODIFIED="1694962758" SHORTCUTURL="om" TAGS="keywords, Unix">OpenBSD</A> | |
<DT><A HREF="https://perldoc.perl.org/blead/functions/%s" ADD_DATE="1694964181" LAST_MODIFIED="1694964214" SHORTCUTURL="p" TAGS="keywords,Perl">Perl</A> | |
</DL> |
Perl Function / Method | Namespace (eg. Package) | Command / Syscall / C Function | |
---|---|---|---|
compare | File::Compare | cmp(1) | |
catdir | File::Spec | cat(1) | |
catfile | File::Spec | cat(1) | |
basename | File::Basename | basename(1) | |
dirname | File::Basename | dirname(1) | |
grep | CORE | grep(1) | |
find | File::Find | find(1) | |
s/// | CORE | sed(1) | |
tr// | CORE | tr(1) |
sh ./Configure -des -Dusedevel -Duseithreads -DDEBUGGING=both |
# Block-Domain [ -Domain <domain> ] | |
param ( | |
[string] $Domain = 'example.com' | |
) | |
$server = '8.8.8.8' # Google |
https://en.wikipedia.org/wiki/User:Rwp0/common.js | |
https://en.wikipedia.org/wiki/User:Rwp0/common.css |
New-ItemProperty -path HKLM:\SOFTWARE\Policies\Google\Chrome ^ | |
-Name DefaultImagesSetting ^ | |
-Value 0 ^ | |
-PropertyType String ^ | |
-Force | |
<# | |
DefaultImagesSetting : 0 | |
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome | |
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google |
Invoke-WebRequest ` | |
-URI $URL ` | |
-OutFile $File |
https://USER:PASS@DOMAIN | |
# -rw------- | |
# store |