Need some advice on CLI design, I need to provide simple but powerful command line options
I am writing a utility that runs on RHEL5 command line. I need my command line options to be simple but powerful. I looked at the various UNIX utilities to get an idea of how simple command line utilities have to be. Do you guys suggest any documents/links that talk about command line etiquette? I am modelling my utility on top of LVM (that’s all the info I can give for now). I know it’s a software engineering question, but I thought it would be appropriate to post here. Please advise….
What are the options for setting up a UNIX environment to learn C using Kernighan and Richie’s The C Programming Language?
I’m a novice programmer and have been experimenting with Javascript, jQuery and PHP but felt I wasn’t getting a real depth of understanding of what I was doing. So, after reading Joel Spolsky’s response to a question on this site (which I can’t find now!), I took it back to basics and read Charles Petzold’s ‘Code’ and am about to move onto Kernighan and Richie’s The C Programming Language. I want to learn this in a UNIX environment but only have access to a Windows system. I have Ubuntu 12.04 running on a virtualised machine via VMWare Player, and done some coding in the terminal.
Is this possible to re-duplicate the hardware signal on Linux?
Since that every things is a file on the UNIX system. If I have a hardware, for example, a mouse, move from left corner to right corner, it should produce some kinds of file to communicate with the system.
Parsing stdout with custom format or standard format?
To integrate with other executables, a executable may launch another executable and capture its output from stdout.
Is Ken Thompson’s compiler hack still a threat?
Ken Thompson Hack (1984) Ken Thompson outlined a method for corrupting a compiler binary (and other compiled software, like a login script on a *nix system) in 1984. I was curious to know if modern compilation has addressed this security flaw or not. Short description: Re-write compiler code to contain 2 flaws: When compiling its […]
Round Robin – how to determine the optimal quantum of time?
I have to calculate the proper quantum of time for Round Robin process scheduling algorithm. As I read in Tanenbaum’s book, the quantum of time should cover like 80% of the running time of all processes.
Lowercase in Linux file names
As I find that UpperCase are really readable for first letter word separation in long complex names, I tend to give some of my Linux files names with some UpperCase. Mostly executables, some directories too.
How to manage intermediate outputs efficiently?
I am implementing a C preprocessor in C…
Origin of the name “OpenServer” for the SCO Unix operating system
I was looking over the evolutionary history of Unix and Unix-like systems on Wikipedia and one operating system name stood out to me: OpenServer.
Why to have an application with GUI on linux when command line is available?
If the question appears to be off topic then please migrate to some other suitable domain on stackexchange.