The tag has no wiki summary.

learn more… | top users | synonyms

-5
votes
1answer
80 views

want to learn a surface amount of command prompt language [closed]

(EDIT: I apologize for the question, what has been offered to me below has nevertheless been enlightening. I now realize that -e and -c were program specific.) I am working on fiddling with some ...
17
votes
3answers
1k views

Where did the convention of naming command line arguments as 'argv' come from?

It seems like Python, PHP, and Ruby all use the name "argv" to refer to the list of command line arguments. Where does the name "argv" come from? Why not something like "args"? My guess is that it ...
1
vote
7answers
462 views

Why do people use terminal text editors? [duplicate]

Are there any inherent advantages to a terminal text editor over a gui version of the same editor (vim and gvim for example) or are the people using terminal text editors just using them because ...
-2
votes
1answer
121 views

C Minishell Command Expansion Printing Gibberish

I'm writing a unix minishell in C, and am at the point where I'm adding command expansion. What I mean by this is that I can nest commands in other commands, for example: $> echo hello $(echo ...
0
votes
2answers
97 views

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. But most programs writes the output message to stdout in custom format and usually ...
1
vote
2answers
243 views

Why do Windows commands allow `-` and `/` switches? [closed]

> shutdown /? > Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f] The windows cmd.exe command shutdown only documents forward slash / switches, but it accepts ...
7
votes
3answers
1k views

What are the benefits of using the command line for software development?

What benefits are gained from using the command line for software development over using an alternative GUI? Is the command line faster for certain tasks? Are certain tools only available via the ...
-1
votes
2answers
454 views

What is the relationship between the command line, the OS and the microprocessor? [closed]

I'm not totally clear on how using the command line differs from working through the OS' interface using an editor for example. Obviously the UI is different but I want to understand how the command ...
76
votes
17answers
21k views

Is it a good idea to design an architecture thinking that the User Interface classes can be replaced by a command line interface?

In Code Complete page 25, it's said that it's a good idea to be able to easily replace the regular user interface classes by a command line one. Knowing its advantages for testing, what about the ...
2
votes
2answers
175 views

Should program behavior be modified using a config file or environmental variables?

I'm referring to *nix command line applications primarily, where you want to permanently modify the behavior from defaults. Environmental variables are easily understood and implemented, usually ...
3
votes
1answer
239 views

Command line merge conflict tools

I sometimes prefer to work in a terminal. I use git, and sometimes have merge conflicts. Are there any merge-conflict-resolution tools that work in a command-line only environment?
-1
votes
2answers
183 views

Need to learn powershell for sharepoint configuration [closed]

I need to be familiar with at least the basics of using powershell to configure sharepoint solutions and their user accounts over the next couple of weeks. Would general powershell learning resources ...
0
votes
9answers
328 views

Input to program without command-line arguments

Let's assume that there are no command-line arguments. How do you pass input data to a program? I'm thinking you'd write the input to a file with a specific name, such that the program knows to open ...
1
vote
2answers
296 views

PHP common uses for the Command Line

I started with PHP a little while ago. I've been doing a lot of tutorials, practice sites, etc. and it's going great. One thing I like about PHP is how easy it is to get started (downloading WAMP and ...
12
votes
12answers
2k views

How to write a command interpreter/parser?

Problem: Run commands in the form of a string. command example: /user/files/ list all; equivalent to: /user/files/ ls -la; another one: post tw fb "HOW DO YOU STOP THE TICKLE MONSTER?;" ...
17
votes
6answers
2k views

Is there a good commandline console for Windows? [closed]

I usually develop with Ubuntu but now I'm forced to use Windows XP. It's actually pretty okay except the commandline is irritating. I miss resizing the window just with mouse but on windows I have to ...
6
votes
12answers
1k views

Should Version Control Softwares be used from Command Line or GUI

I was going through some tutorials on TortoiseHg. Despite having a rich GUI, the first examples are given using command line options. Does the ideal usage involve command line or it was started that ...
3
votes
7answers
469 views

How do i speedily traverse a file system while extracting/extrapolating various data and provide user feedback?

I'm working on a system file scanner that reveals info about various files (e.g. size, last used, duplicates, etc). Currently I'm traversing the file system once just to get a good measure of the ...
7
votes
4answers
2k views

Command line options style - POSIX or what?

Somewhere I saw a rant against java/javac allegedly using a mix of Windows and Unix style like java -classpath ... -ea ... Something IMHO, it is no mix, it's just like find works as well, isn't it? ...
1
vote
5answers
121 views

How to structure reading of commands given at a(n interactive) CLI prompt?

Let's say I have a program called theprogram (the marketing team was on strike when the product was to be named). I start that program by typing, perhaps not surprisingly, the program name as a ...
10
votes
10answers
837 views

When to learn the command line version of a programming tool?

Almost every programming tool has a command line version; many of which also have a gui version. It takes a lot of time and memorization effort to learn the different commands and various ...