The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
115 views

Need a simple compact program to execute few commands

(On Windows 7 64 bit)... I am looking for a program, something similar to the default Windows Terminal, what I need it to do is: Load text from a given URL, split the code in two variables and then ...
0
votes
1answer
118 views

Creating java package on ubuntu? [closed]

I am new to java. Here I am trying to create java package. And try to compile it from another directory . But there is an error like bash: /home/gaurav/Desktop/package2/B.java: Permission denied Here ...
1
vote
2answers
85 views

How can I improve my productivity in Linux? [closed]

I have been mostly using Windows but I know my way around a Linux system but I am not as productive as in Windows. I am looking for some "survival" guidelines on what should I focus to be able to ...
1
vote
4answers
109 views

Checking for minimum number of command-line arguments, but allowing help switch

I just ran into an odd scenario. I’m sure that I must have run into the same situation in the past and yet somehow not noticed it until now. I am writing a program that requires at least two ...
-1
votes
1answer
87 views

How to make m2e / maven commands available from comand line? [closed]

I've installed m2e on Eclipse and I'm learning how to use it. But most of what I come across is actually based on the command line. There is no environment variable and I can't find a Maven-* folder ...
17
votes
3answers
2k 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
610 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
143 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
119 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 ...
0
votes
2answers
316 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 ...
6
votes
3answers
2k views

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

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
485 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
22k 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
186 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
375 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
197 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
352 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
317 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 ...
14
votes
12answers
3k 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
3k 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 ...
5
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 ...
4
votes
7answers
533 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
124 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 ...
11
votes
10answers
1k 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 ...