Unix commands bucket
Written on 8 December 2014, 10:20pm
Tagged with: bookmarks, networks, operating systems, unix
Cleaning up my bookmarks and finishing and old draft post in the same time š
1. Getting started
Linux 101 Hacks eBook
http://linux.101hacks.com/toc
Introduction To Linux Commands
http://coding.smashingmagazine.com/2012/01/23/introduction-to-linux-commands/
5 Unix Commands I Wish Iād Discovered Years Earlier (man ascii, cal, xxd, ssh, mdfind)
http://spin.atomicobject.com/2013/09/09/5-unix-commands/
VI common commands:
http://www.cs.colostate.edu/helpdocs/vi.html
Unix Programming Resources
http://www.whoishostingthis.com/resources/unix-programming/
2. OS
ps aux
a = show processes for all users
u = display the process’s user/owner
x = also show processes not attached to a terminal
http://www.unix.com/man-page/All/1b/ps/
top
http://www.unix.com/man-page/linux/1/top/
strace
http://www.unix.com/man-page/linux/1/strace/
How to run commands in the background properly:
http://felixmilea.com/2014/12/running-bash-commands-background-properly/
3. Networking
netstat -a
Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
wget
Non interactive network downloader
wget --save-cookies cookies.txt http://domain.com/login
wget --load-cookies cookies.txt http://domain.com/secured
curl
Transfer an URL
Analyze log files (ex from Apache) using AWK/SED
:
http://www.the-art-of-web.com/system/logs/
http://snippets.aktagon.com/snippets/15-log-file-analysis-with-awk-calculating-the-sum-and-average
And one for Windows:
net use
– show the mapped drives
C:\Documents and Settings\user> net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
P: \\my.domain.com\www\public
Microsoft Windows Network
OK S: \\chaos\devd$ Microsoft Windows Network
The command completed successfully.
--------------------------------------------------------
Written by Dorin Moise (Published articles: 259)
- Likes (0)
-
Share
- Comments (0)