Command Description
grep . /proc/sys/net/ipv4/* List the contents of flag files
set | grep $USER Search current environment
tr ” ‘\n’ < /proc/$$/environ Display the startup environment for any process
echo $PATH | tr : ‘\n’ Display the $PATH one per line
kill -0 $$ && echo process exists and can accept signals Check for the existence of a process (pid)
find /etc -readable | xargs less -K -p’*ntp‘ -j $((${LINES:-25}/2)) Search paths and data with full context. Use n to iterate
namei -l ~/.ssh Output attributes for all directories leading to a file name
Low impact admin
# apt-get install “package” -o Acquire::http::Dl-Limit=42 \
-o Acquire::Queue-mode=access
Rate limit apt-get to 42KB/s
echo ‘wget url’ | at 01:00 Download url at 1AM to current dir
# apache2ctl configtest && apache2ctl graceful Restart apache if config is OK
nice openssl…

View original post 1,018 more words


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s