Top "Command-line" questions

A command line is a string given to a command interpreter that tells it actions to take, such as running programs or copying files.

How to list running screen sessions?

I have a bunch of servers, on which I run experiments using screen. The procedure is the following : ssh to …

linux bash command-line gnu-screen
Is there replacement for cat on Windows

I need to join two binary files with a *.bat script on Windows. How can I achieve that?

windows command-line scripting
How to find the mysql data directory from command line in windows

In linux I could find the mysql installation directory with the command which mysql. But I could not find any …

mysql database linux windows command-line
Downloading MySQL dump from command line

I am moving away from Linode because I don't have the Linux sysadmin skills necessary; before I complete the transition …

mysql command-line command-line-arguments linode
Debugging with command-line parameters in Visual Studio

I'm developing a C++ command-line application in Visual Studio and need to debug it with command-line arguments. At the moment …

c++ visual-studio debugging command-line
How to check if smtp is working from commandline (Linux)

I have a SMTP-server, for the purpose of this question lets call it: smtp.mydomain.com. How do i check …

linux command-line smtp
What is the purpose of "&&" in a shell command?

As far as I know, using & after the command is for running it in the background. Example of & …

bash shell command-line syntax
start MySQL server from command line on Mac OS Lion

I installed mySQL for my Mac. Beside starting the SQL server with mySQL.prefPane tool installed in System Preference, I …

mysql macos command-line osx-lion
Using multiple delimiters in awk

I have a file which contain following lines: /logs/tc0001/tomcat/tomcat7.1/conf/catalina.properties:app.env.server.name = demo.…

awk command-line text-processing
Running CMD command in PowerShell

I am having a bunch of issues with getting a PowerShell command to run. All it is doing is running …

powershell command-line cmd