My Journey with Unix: From Motivation to Automation
The author recounts how a university encounter and later work demands led them to master Unix, using tools like awk, Perl, Python and Ruby to automate massive data tasks, teach courses, and champion Ubuntu and other Unix-like systems as essential, productivity‑driving platforms.
This article is a self‑question‑and‑answer narrative that uses the term “UNIX” to refer to various UNIX‑like operating systems such as Solaris, FreeBSD, Linux, etc. The author does not aim to argue why Unix is good, but rather shares how they fell in love with Unix.
1. Motivation from Need During the senior year of university the author first encountered Unix, but without a real need they could not study it seriously. In 2004, after taking over maintenance of an intelligent network system that ran entirely on Unix devices, work requirements forced the author to learn remote login, command lookup, and command usage. Daily use turned the author into a Unix practitioner.
2. Discovering Unix Productivity The author’s first sense of Unix’s productivity came from using awk to process tens of gigabytes of call‑detail records. This sparked deeper exploration of shell commands, shell scripting, and automation. Later, handling Siemens’ intelligent network system reinforced the power of Unix‑based automated maintenance.
3. Building Personal Unix Productivity After switching from Siemens to Huawei equipment (still Unix‑based), the author learned Perl during a vacation, appreciating its flexible syntax, powerful regular expressions, and seamless shell integration. Perl scripts became the backbone of the author’s automation work. Subsequent learning of Python (around 2010) and Ruby on Rails (in 2011) further expanded the author’s toolkit, allowing the use of Python for single‑program tasks and Rails for platform development.
4. Teaching Unix to Others Passionate about sharing, the author began delivering Unix‑related courses such as “UNIX Basics”, “AWK Basics”, and “Leveraging Software for Change”. Each successful class that inspires a new Unix fan is considered a personal achievement.
5. Favorite List The author lists personal preferences rather than recommendations. The favorite Unix operating system is Ubuntu, praised for its easy installation, apt‑get package management, and rich documentation. Other favored OSes include Solaris, RedHat, AIX, and HP‑UX.
6. Favorite Unix Program The author’s top Unix program is awk , valued for its capabilities despite being under‑recognized.
7. Frequently Used Languages The author frequently uses scripting languages: Python, Perl, Ruby, and Shell.
8. Book Recommendations Although the author prefers online resources, several books are mentioned, mainly from O'Reilly, covering topics such as Unix design philosophy, sed & awk, regular expressions, Perl, Python, Shell scripting, and Ruby on Rails.
Baidu Tech Salon
Baidu Tech Salon, organized by Baidu's Technology Management Department, is a monthly offline event that shares cutting‑edge tech trends from Baidu and the industry, providing a free platform for mid‑to‑senior engineers to exchange ideas.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.