tagged [command]
How do I execute a program or call a system command?
How do I execute a program or call a system command? How do I call an external command within Python as if I had typed it in a shell or command prompt?
- Modified
- 15 Dec at 01:6
List of Stored Procedures/Functions Mysql Command Line
List of Stored Procedures/Functions Mysql Command Line How can I see the list of the stored procedures or stored functions in mysql command line like `show tables;` or `show databases;` commands.
- Modified
- 3 Dec at 14:29
Change all files and folders permissions of a directory to 644/755
Change all files and folders permissions of a directory to 644/755 How would I change all files to 644 and all folders to 755 using `chmod` from the `linux` command prompt? (Terminal)
- Modified
- 2 Feb at 19:5
Waiting for another flutter command to release the startup lock
Waiting for another flutter command to release the startup lock When I run my flutter application it show > Waiting for another flutter command to release the startup lock this messages and not procee...
Can the Unix list command 'ls' output numerical chmod permissions?
Can the Unix list command 'ls' output numerical chmod permissions? Is it possible when listing a directory to view numerical Unix permissions such as `644`, rather than the symbolic output `-rw-rw-r--...
- Modified
- 29 Dec at 06:44
How to grant permission to users for a directory using command line in Windows?
How to grant permission to users for a directory using command line in Windows? How can I grant permissions to a user on a directory (Read, Write, Modify) using the Windows command line?
- Modified
- 5 Jun at 04:32
How do I run a batch script from within a batch script?
How do I run a batch script from within a batch script? How do I call another batch script from within a batch script? I want it to execute in an `if` statement.
- Modified
- 15 Nov at 23:43
How to recover the deleted files using "rm -R" command in linux server?
How to recover the deleted files using "rm -R" command in linux server? I have unfortunately deleted some important files and folders using 'rm -R ' command in Linux server. Is there any way to recove...
How to find which version of TensorFlow is installed in my system?
How to find which version of TensorFlow is installed in my system? I need to find which version of TensorFlow I have installed. I'm using Ubuntu 16.04 Long Term Support.
- Modified
- 29 Jan at 22:35
how to find host name from IP with out login to the host
how to find host name from IP with out login to the host i need to find the host name of a UNIX host whose IP is known with out login to that UNIX host
- Modified
- 20 Oct at 11:48
Peak memory usage of a linux/unix process
Peak memory usage of a linux/unix process Is there a tool that will run a command-line and report the peak RAM usage total? I'm imagining something analogous to /usr/bin/time
- Modified
- 8 Mar at 18:12
Process.Start() get errors from command prompt window
Process.Start() get errors from command prompt window I'm trying to with args. Now I want to obtain information about errors if they exist. Best regards, loviji
- Modified
- 25 Apr at 17:43
List all environment variables from the command line
List all environment variables from the command line Is it possible to list environment variables from a Windows' command prompt? Something equivalent to PowerShell's `gci env:` (or `ls env:` or `dir ...
- Modified
- 27 Apr at 12:11
How do I kill the process currently using a port on localhost in Windows?
How do I kill the process currently using a port on localhost in Windows? How can I remove the current process/application which is already assigned to a port? For example: `localhost:8080`
- Modified
- 20 Jan at 09:21
List of Java processes
List of Java processes How can I list all Java processes in bash? I need an command line. I know there is command `ps` but I don't know what parameters I need to use.
- Modified
- 8 Jun at 18:0
How to run a python script from IDLE interactive shell?
How to run a python script from IDLE interactive shell? How do I run a python script from within the IDLE interactive shell? The following throws an error:
- Modified
- 16 Feb at 16:46
Find Process Name by its Process ID
Find Process Name by its Process ID Suppose I know the process ID. I want to find the process name by its ID, using windows batch script. How can I do this?
- Modified
- 1 Dec at 09:34
Show a popup/message box from a Windows batch file
Show a popup/message box from a Windows batch file Is there a way to display a message box from a batch file (similar to how `xmessage` can be used from bash-scripts in Linux)?
- Modified
- 14 Mar at 14:15
How to create a database from shell command?
How to create a database from shell command? I'm looking for something like createdb in PostgreSQL or any other solution that would allow me to create database with a help of a shell command. Any hint...
- Modified
- 1 Oct at 12:26
How to force cp to overwrite without confirmation
How to force cp to overwrite without confirmation I'm trying to use the `cp` command and force an overwrite. I have tried `cp -rf /foo/* /bar`, but I am still prompted to confirm each overwrite.
- Modified
- 18 Jan at 00:11
How to recursively download a folder via FTP on Linux
How to recursively download a folder via FTP on Linux I'm trying to ftp a folder using the command line ftp client, but so far I've only been able to use 'get' to get individual files.
- Modified
- 25 Aug at 09:47
Skip download if files already exist in wget?
Skip download if files already exist in wget? This is simplest example running wget: but how to make wget skip download if `pic.png`is already available?
- Modified
- 13 May at 12:0
Copy Paste in Bash on Ubuntu on Windows
Copy Paste in Bash on Ubuntu on Windows How to execute a copy paste operation from Windows 10 to the Bash on Ubuntu on Windows environment? I tried the following: - - Any suggestions?
- Modified
- 1 Sep at 13:0
How do I get the name of the current executable in C#?
How do I get the name of the current executable in C#? I want to get the name of the currently running program, that is the executable name of the program. In C/C++ you get it from `args[0]`.
- Modified
- 3 Apr at 19:4
Remove the last line from a file in Bash
Remove the last line from a file in Bash I have a file, `foo.txt`, containing the following lines: I want a simple command that results in the contents of `foo.txt` being:
- Modified
- 1 Feb at 18:4
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?
- Modified
- 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...
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
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...
- Modified
- 28 Oct at 16:33
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.
- Modified
- 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...
- Modified
- 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?
- Modified
- 13 Dec at 04:12
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...
- Modified
- 16 Aug at 04:25
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)?
- Modified
- 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...
- Modified
- 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.
- Modified
- 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.
- Modified
- 23 Apr at 21:56
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...
- Modified
- 10 Jul at 19:53
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...
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...
- Modified
- 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...
- Modified
- 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...
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...
- Modified
- 27 May at 15:21
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...
- Modified
- 9 Sep at 19:12
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...
- Modified
- 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.,
- Modified
- 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...
- Modified
- 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 ...
- Modified
- 2 Feb at 15:52
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...