Useful UNIX utilities
Terminal
- ksh build in
- screen
- bash
- tmux - tmux is replacing screen
- MacOS trash - use trash bin from command line
- ksh
- nano - useful shell based texteditor if you don't prefer
vi
. - lsof - check open file and network connections
- hotplugd
- du & df - Disc usage utilities
- env
- entr - file changed detection
- smenu - tool for making interactive shell menus
- TheSilverSearcher
- source command - execute in current context
- goaccess - log analysis
- terminal sampler and charting - toolkit written in
go
that is able to do charting directly in terminal - neofetch
- sct - simple alternative to redshift on OpenBSD
- pax - tool to help copy archive files
Performance
- iperf - Performance benchmark
- renice - Change process scheduling priority
- top - also see ports ntop, iftop and pftop.
- GoAccess - Apache/NGINX log file analyzer using ncurses.
- systat - gen system performance
- fping - network performance
File Synchronization
- rsync - One way file system synchronization
- unison - Two way file system synchronization
- CVSup - File sychronization specifically targetting CVS repositories.
- gitbak - backup system based on git
- Flyback - also available as port. Gui on top of rsync.
- simple-mtpfs
Text processing
- PortableScripts
- awk - Text processing utility
- sed - Stream editor
- tar - Archiving utility
- grep - Text filtering utility
- cut - cut line output
- bc - Shell math
- tr - Translate characters
- ruby - Parse with Ruby
- head/tail - print beginning and end of stream
- TextEditors
- find
- sort
- grap - Graph type setting tool which can be used in TeX and groff. grap port exists. See Teach you children groff for inspiration.
- howl - Capable text editor written in Lua
- lite - Another simple and capable text editor in Lua
- diff - UNIX diff tool
Programming
Server monitoring
- ServerMonitoring
- Puppet - Data center automation written in Ruby
Version Control
- Git Explanation
- Mercurial -
hg
version control
Multimedia
- [Graphwiz dot](/Graphwiz dot)
- OpenBSDAudio
- Lives - Video Editing. Coming port for OpenBSD. See article in Linux Journal.
Network
- node.js
- SpamBayes
- unbound
- ssh
- coherence
- opera
- http://www.opensips.org
- rtorrent
- netcat -
nc
is the swiss army knife of TCP/UDP networking - mdns - Multicast DNS to replace Avahi or Bonjour written for OpenBSD. See openmdns port.
- arp-scan
- Failover with trunk(4)
- PF-badhost
Base System
- ktrace - kernel trace
- ldd - binary program library dependence
- qemu
- disklabel - can be used to find used USB partitions
- sysmerge
- opensmtpd
Security
Finding ports
To do keyword search for ports do the following. Note that ports source must be installed first.
cd /usr/ports
make search key=rsnapshot
A great source for packages/ports are found on openports.se.
Another way is to install pkg_mgr
which is a curses
based packages manager which use normal pkg_*
tools.
Installing ports behind a proxy/firewall
If you are behind a proxy/firewall it is often neccesary to proxy ftp traffic through http and proxy server. Set the ftp_proxy
environment variable according to your company proxy settings. Then you can set the PKG_PATH
as usual. ftp
will automatically pass ftp traffic using http
through proxy server.
export ftp_proxy= http://<proxy_user>:<proxy_pw>@proxy.your.domain.com:<port>/
export PKG_PATH=ftp://ftp.openbsd.host.com/5.0/packages/i386
Package info
Install message (if any) can be displayed using -M
flag.
pkg_info -M mysql-server
There might also be an install readme as part of the package.
ls /usr/local/share/doc/pkg-readmes/
mysql-server-5.1.60