Questions tagged [command-line-interface]

A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks.

A command-line interface (CLI) is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks.

1564 questions
0
votes
2 answers

How do I set the PATH environment variable to point to JRE version 1.5

Hi there I have a program that requires me to set the PATH environment variable to point to JRE version 1.5 as I need to access the program via a command prompt. So any ideas on how to do that?
VMNoob
0
votes
1 answer

Serial modem output interference on linux command line

I am manually dialing remote machines using my serial modem via the linux command line. I am automating the process, hence not using any dialing tools (I've already tried most of them - none are sufficient). I can make connections successfully -…
tjbp
  • 193
  • 3
  • 6
0
votes
2 answers

MAMP & Command Line Interface -- PATH on MAC OS X

I have MAMP installed on my Mac for use as a localhost development environment. Previously, I used the already-installed PHP and my own install of MySQL, but I want to move to MAMP because I think it'll make things easier in the long run. My…
swt83
  • 109
  • 1
  • 3
0
votes
2 answers

Get access to a command prompt via browser

We're spinning up some Ubuntu servers on Amazon EC2 but given the firewall restrictions we have within our corporate network we can't ssh out to them (even tried running ssh server on a different port - still doesn't work). Are there web apps out…
Marplesoft
  • 168
  • 1
  • 2
  • 11
0
votes
2 answers

PHP run on the command line simply outputs the contents of the script

I'm trying to run a PHP script on the command line. listing for myscript.out Let's try running it... $ php myscript.php > myscript.out $ cat myscript.out Expected output in myscript.out: Hello world Actual…
user46968
0
votes
2 answers

Need CLI ssh server for windows

I am searching for as small as possible console-based ssh server for windows machines. I just need to make one server capable of tunneling so i wouldn't really need ssh keys or anything, just a simple and small ssh server application. What are your…
daadada
0
votes
1 answer

Telnet session - can't run commands

I have 2 VMs running CentOS 5.0 and I configured telnet on both of them. I can telnet from one to another... but when I type ls or cd at the prompt I get a message like this -bash: ls: command not found Please advise. Thanks
Joao Heleno
  • 251
  • 1
  • 4
  • 12
0
votes
4 answers

SSH running two commands at once?

So I want to run Apache benchmark but while it's running, I need to run htop to see the memory and CPU usage. How can I do that? Putty (My ssh client) won't let me type in a command until ab is done running. Ideas?
Matthew
  • 1,859
  • 4
  • 22
  • 32
0
votes
3 answers

NET VIEW occasionally does not show all computers

I am having an issue on my workstation, where periodically the NET VIEW command does not seem to work. Most times, NET VIEW will return a list of all the machines connected to our domain. Occasionally, it will only list 4 or 5 (instead of the…
Neil
  • 307
  • 3
  • 4
  • 11
0
votes
1 answer

Suppress EXT3-fs warning on mount

I am familiar with output suppress on Unix machines, ie: cat /file/that/doesnt/exist > /dev/null 2>& However I can't seem to suppress the output of mount when an ext3 filesystem is mounted for the nth time, and it recommends an fsck. As it happens,…
tjbp
  • 193
  • 3
  • 6
0
votes
1 answer

Suppress PHP Headers running cgi PHP from Ruby

I originally posted this on StackOverflow and it was suggested that I try posting this here because, "It might be something like the configuration in CGI is different than the configuration for your user." Having said that, here is my original…
Matthew J Morrison
  • 165
  • 1
  • 1
  • 8
0
votes
2 answers

Windows command line built-in compression/extraction tool?

I need to write a batch file to unzip files to their current folder from a given root folder. Folder 0 |----- Folder 1 | |----- File1.zip | |----- File2.zip | |----- File3.zip | |----- Folder 2 …
Will Marcouiller
  • 256
  • 2
  • 5
  • 16
0
votes
1 answer

Plesk command working in manual script, not in cronjob

In order to install a hosting plan, I use Plesk's commands in SSH as specified in their official guide. When typed directly in SSH (Putty), it works perfectly. The line is as follows with obviously values hard coded when in…
None
0
votes
2 answers

Is there a Windows app out there that can pipe command line arguments into a TCP socket connection?

I haven't needed anything like this before but I'm sure something exists. I'm looking for a compiled Windows executable (i.e. noninterpreted language) that I don't need to write that can read the arguments passed in on the command line, open an TCP…
Oesor
  • 300
  • 1
  • 2
  • 16
0
votes
3 answers

Windows command line "suspend"

On Windows, there's the shutdown cmd line, but is there a windows command line command to call a "standby"? What I'd really like is to call something like standby -force to force a system to enter standby even when a pesky app is trying to…
bobobobo
  • 789
  • 6
  • 14
  • 26