tagged [command]

What's the preferred way of exiting a command line program?

What's the preferred way of exiting a command line program? This should be straightforward. I just need to simply exit my commandline c# program - no fancy stuff. Should I use or or something else?

14 Nov at 19:54

Find PHP version on windows command line

Find PHP version on windows command line I just tried to know version of my PHP from windows command typing, `C:\> php -v` But it is not working. It says `php is not recognized as internal or external...

18 Apr at 02:59

Terminal Commands: For loop with echo

Terminal Commands: For loop with echo I've never used commands in terminal like this before but I know its possible. How would I for instance write: ``` for (int i = 0; i

23 Aug at 18:25

Pretty print in MongoDB shell as default

Pretty print in MongoDB shell as default Is there a way to tell Mongo to pretty print output? Currently, everything is output to a single line and it's difficult to read, especially with nested arrays...

How to close git commit editor?

How to close git commit editor? I just executed a command `$ git commit` and it opens a new editor. But I'm trying to close that new commit editor. How to do this? I'm using Git for Windows.

29 Dec at 00:49

an htop-like tool to display disk activity in linux

an htop-like tool to display disk activity in linux I am looking for a Linux command-line tool that would report the disk IO activity. Something similar to `htop` would be really cool. Has someone hea...

11 Feb at 14:45

How to change the output color of echo in Linux

How to change the output color of echo in Linux I am trying to print a text in the terminal using echo command. I want to print the text in a red color. How can I do that?

How can I beautify JavaScript code using Command Line?

How can I beautify JavaScript code using Command Line? I am writing a batch script in order to beautify JavaScript code. It needs to work on both and . How can I beautify JavaScript code using the com...

Stop and Start a service via batch or cmd file?

Stop and Start a service via batch or cmd file? How can I script a bat or cmd to stop and start a service reliably with error checking (or let me know that it wasn't successful for whatever reason)?

23 Apr at 19:49

How to create a file with a given size in Linux?

How to create a file with a given size in Linux? For testing purposes I have to generate a file of a certain size (to test an upload limit). What is a command to create a file of a certain size on Li...

26 Sep at 12:50

Running Command Line in Java

Running Command Line in Java Is there a way to run this command line within a Java application? I can run it with command but I couldn't do it within Java.

8 Sep at 15:53

Command line input in Python

Command line input in Python Is it possible to run first the program then wait for the input of the user in command line. e.g.

How to run .NET Core console application from the command line

How to run .NET Core console application from the command line I have a .NET Core console application and have run `dotnet publish`. However, I can't figure out how to run the application from the com...

How can I change the table adapter's command timeout

How can I change the table adapter's command timeout I'm using Visual Studio 2008 with C#. I have a .xsd file and it has a table adapter. I want to change the table adapter's command timeout. Thanks f...

5 Sep at 15:45

Where is svn.exe in my machine?

Where is svn.exe in my machine? I have installed on my desktop. I want to perform some tasks using svn.exe? But I am not able to find on my machine. Do we have to install something else to get the com...

6 May at 12:14

How to reset Jenkins security settings from the command line?

How to reset Jenkins security settings from the command line? Is there a way to reset all (or just disable the security settings) from the command line without a user/password as I have managed to com...

23 Feb at 16:17

How to move files using FTP commands

How to move files using FTP commands Path of source file is : `/public_html/upload/64/SomeMusic.mp3` And I want to move it to this path : `/public_html/archive/2011/05/64/SomeMusic.mp3` How can i do t...

27 Feb at 08:14

Command Line Parser with mutually exclusive required parameters

Command Line Parser with mutually exclusive required parameters I started to use the [CommandLine Parser Library](http://commandline.codeplex.com) for a tool that will have both a GUI and a command li...

Looking for a Command Line Argument Parser for .NET

Looking for a Command Line Argument Parser for .NET I'm looking for a command line argument parser, such as "Command line parser" from [http://www.sellsbrothers.com/tools/Genghis/](http://www.sellsbro...

9 Sep at 19:12

How to a add a command to a WPF TextBlock?

How to a add a command to a WPF TextBlock? I'd like to be able to click a textblock and have it run a Command. Is this possible? (if not do I just somehow make a tranparent button over it or something...

9 Aug at 22:20

Shell command to find lines common in two files

Shell command to find lines common in two files I'm sure I once found a shell command which could print the common lines from two or more files. What is its name? It was much simpler than [diff](https...

30 Nov at 16:10

Linux command to print directory structure in the form of a tree

Linux command to print directory structure in the form of a tree Is there any linux command that I can call from a Bash script that will print the directory structure in the form of a tree, e.g.,

11 Oct at 13:31

How to generate Javadoc from command line

How to generate Javadoc from command line Can anybody show me how to generate Javadoc from command line? My project contains the package `com.test` and I want to put the generated documentation in fil...

6 Jun at 08:32

commandline argument parameter limitation

commandline argument parameter limitation Language: C# I have to pass a huge string array (built dynamically) as an argument to run an exe. I am thinking of acheiving it by the below 2 ways. But I am ...

How to use 'cp' command to exclude a specific directory?

How to use 'cp' command to exclude a specific directory? I want to copy all files in a directory except some files in a specific sub-directory. I have noticed that `cp` command didn't have the `--excl...

13 Jan at 00:0