commit
4f947347a2
@ -0,0 +1,32 @@
|
||||
# links2
|
||||
# Lynx-like alternative character mode WWW browser
|
||||
# Note that some distributions of Linux package links2(1) as simply `links`.
|
||||
|
||||
# Launch and browse immediately to the provided web address.
|
||||
links2 duckduckgo.co.uk
|
||||
|
||||
# Dump the formatted result (not source) of a given page to STDOUT.
|
||||
links2 -dump duckduckgo.co.uk
|
||||
|
||||
# When the `-dump` option is used, the user can also provide the `-width`
|
||||
# option, in order to specify the desired maximum line length, in characters.
|
||||
links2 -dump -width 80 duckduckgo.co.uk
|
||||
|
||||
# Spoof the UA (UserAgent) which can help you visit various sites which might
|
||||
# restrict access from a non-standard browser, such as Firefox. In this case, -
|
||||
# we're faking a Mozilla Firefox 5.0 browser.
|
||||
links2 -http.fake-user-agent 'Mozilla/5.0' duckduckgo.co.uk
|
||||
|
||||
# Have links2(1) request not to be tracked (as if anyone respects this!?). The
|
||||
# `1` is a boolean integer, indicating to enable the aforetyped option. This
|
||||
# option is by default disabled, according the August 2006 man page.
|
||||
links2 -http.do-not-track 1 duckduckgo.co.uk
|
||||
|
||||
# Perhaps one of the most useful flags links2(1) supports enables numbered
|
||||
# links, allowing the user to simply type in the number followed by Enter or
|
||||
# Return, allowing for easier and quicker browsing.
|
||||
links2 -html-numbered-links 1 duckduckgo.co.uk
|
||||
|
||||
# A Shell function which can be used to quickly access and search with DDG. For
|
||||
# example, the user might wish to learn about Perl, so enter: l2 Perl
|
||||
l2(){ links2 http://duckduckgo.com/?q="$*"; }
|
@ -0,0 +1,15 @@
|
||||
# scp
|
||||
# Secure copy (remote file copy program)
|
||||
|
||||
# Secury copies files from remote ADDR's APTH to the current-working-directory.
|
||||
# By default here, port 22 is used, or whichever port is otherwise configured.
|
||||
scp ADDR:PATH ./
|
||||
|
||||
# Using aliases (not Bash aliases) work with scp(1) as well. In this example, -
|
||||
# the PATH1 of the first remote source defined as ALIAS1 is sent to PATH2 of
|
||||
# the remote destination defined as ALIAS2.
|
||||
scp ALIAS1:PATH1 ALIAS2:PATH2
|
||||
|
||||
# You can use the `-P` flag -- uppercase, unlike ssh(1) -- to determine the
|
||||
# PORT, in-case it's non-standard (not 22) or not defined within an alias.
|
||||
scp -P PORT ADDR:PATH ./
|
@ -0,0 +1,13 @@
|
||||
# sensors
|
||||
# Print sensors information
|
||||
|
||||
# By default, if possible, sensors(1) will provide temperature information in
|
||||
# Celsius. Using the `-f` option, Fahrenheit can instead be used.
|
||||
sensors -f
|
||||
|
||||
# Display sensor information in raw output, suitable for parsing.
|
||||
sensors -u
|
||||
|
||||
# Using sensors(1) and Perl, output only the CPU's fan speed (RPM). May not
|
||||
# work on all system's software and/or hardcore configurations.
|
||||
sensors | perl -ne '/^cpu_fan/ && print((split(" "))[1])'
|
Loading…
Reference in New Issue