Command Line interface (CLI)
3
votes
1answer
126 views
npm install, but can't run
I'm a newbie to Node, but I've been trying to install some npm modules and after what seems like a successful install, I can't run the new app. I must have some basic config error, like a missing ...
2
votes
1answer
229 views
“net session” listing GUIDs for computer names. Won't accept its own GUIDs
When I run "net session" or "net session /list", I get GUIDs for computer names:
C:\Users\Administrator>net session
Computer User name Client Type Opens Idle time
...
2
votes
1answer
173 views
Configure incoming connection (VPN) on Microsoft Hyper-V 2008 via command line
In both Windows 7 and Windows Server 2008 (R2), it is extremely easy to allow incoming connections (VPN). Just go to overview of network adapters, click 'file' and click 'new incoming connection'.
...
1
vote
1answer
67 views
Command line - query account type (local, network managed, mobile)
How can I query account type information. Things like who and users don't show this. Also tried things like dscacheutil -q user
I'd like to know if a users account is a mobile account and I am doing ...
1
vote
1answer
28 views
Scheduled capture from COM port
I want to capture COM output to a daily file. I can capture manually, using something like RS232 Data Logger, but I want to run a scheduled task so I get a daily log of the data captured.
Is there ...
1
vote
1answer
81 views
How do I configure a stored procedure wrapper and security settings to provide safe access to command-line operations?
I'm ultimately trying to find a way to allow the safe use of BCP and selected other command-line functionality from within SQL Server.
The organisation I am in currently have xp_cmdshell disabled ...
1
vote
1answer
1k views
Send message to another Computer through Network via CmdLine
I would like to send from a server ( Windows 2008 R2) a pop up message to another Computer in the Network (Windows 7). I already enable AllowRemoteRPC in the registry of my Windows 7 system.
This cmd ...
1
vote
1answer
124 views
How to execute rskeymgmt utility silently in windows server 2008
When i run reskeymgmt.exe - to create a backup copy of the encryption key, it responses
"Are you sure want to extract the key from the Report Server? Yes (y)/
No (n)?"
I found this link which ...
1
vote
1answer
110 views
EC2 API Tools formatting in Ubuntu terminal
The output of ec2 cli tools on my mac is nice and formatted like so:
RESERVATION r-xxxx xxxx cl-xx
INSTANCE i-xxxx ami-xxx
TAG instance i-xxx ...
0
votes
1answer
24 views
Windows Azure Cloud Service - add Local Security Policy to a user account in startup task
I have a Windows Azure Cloud Service project that includes a startup task Startup.cmd file to create some scheduled tasks. In this file I am using the command line to create a user account which I ...
0
votes
1answer
77 views
35 times increased latency between data send rate of 1 millisecond vs 100 microseconds. WHY?
Experiment
hping -S --data 100 -c 100 10.56.1.2 -i u100 round-trip min/avg/max = 0.5/14.0/15.8 ms
hping -S --data 100 -c 100 10.56.1.2 -i u1000 round-trip min/avg/max = 0.3/0.4/4.8 ms
Observation: ...
0
votes
1answer
58 views
Is it possible to execute remote GUI process locally in Windows?
I know that Linux can open - for example - a firefox window in a local pc as if it was a window opened remotely. Can I do the same thing in windows?
N.B. I use PsExec but it can launch a program from ...
0
votes
1answer
70 views
Disable LDAP service in CentOS 6.3
What command needed to disable LDAP service in CentOS 6.3.
I tried:
authconfig --disableldap
but it doesn't work.
I am trying to run ISC-DHCP in my machine but it always shows
Not searching ...
0
votes
1answer
120 views
How to stop freeswitch by the command line?
freeswitch has it's own CLI and it is possible to shut it down with shutdown command issued within this CLI.
But is it possible to shut it down bu separate command, for example, by shell script?
0
votes
1answer
57 views
Debian hanging on MySQL shutdown
One of my websites had too many MySql connections, I did some performance in the scripting and shutdown some expensive queries to make the website more reachable again.
Because my processlist was ...
0
votes
1answer
113 views
xdg-mime returns “xprop: unable to open display '' ”
I'm attempting to track down a problem with a particular CSS file being returned as text/html instead of text/css.
file -mime install.css returns some less useful info:
install.css: text/x-c; ...
0
votes
1answer
139 views
Creating a Jenkins build farm in a hands-off manner?
My colleague and I have set up and run Jenkins on a KVM guest running Ubuntu 12.04 with good results for a while now. We are thinking about deploying a cluster of Jenkins CI hosts in master/slave ...
0
votes
1answer
81 views
Escaping characters when calling ssh from windows
I need to call an ssh command from a Windows command prompt that will execute a command on a remote Linux machine. The command accepts two string parameters, one of which can potentially be ...
0
votes
1answer
117 views
Issue with PHP and osx 10.7 - runs via command line but not in browser
I recently removed MAMP as I wanted to have more control over my machine and wanted to make use of PHP5.4 I installed using the script located here I cannot now not even get my default PHP that is ...
0
votes
1answer
22 views
yum to install fails on default empty server
I used to download Fedora from site X, for example, but lately the site has not updated itself with new packages, therefore commands used to install any of those packages report back with errors as ...
0
votes
1answer
235 views
curl cookie and cookiejar trouble
I've got a script that curls a site using a specific cookie value in a cookie file. When I run this on my local system, the server returns the same value to my cookie jar, as per my expectations. When ...
0
votes
1answer
120 views
upload file to server via rdc in command line
I have access to server only via RDC, and I was wondering if is it possible to upload file to it via command line? I've got application that only can be run on the server, and modyfing some files and ...
0
votes
1answer
491 views
How to change the proxy settings for the Network Service account from the command prompt?
Currently, I am only aware of the following command:
C:\>bitsadmin /util /SetIEProxy NetworkService MANUAL_PROXY 1 92.168.0.200:8080 NULL
But, it has the following defects:
It is deprecated
It ...
0
votes
1answer
74 views
Collect output of top command displayed with separate option
I would be grateful to you for some details about the top command output achieved using the hotkey "A". I suppose the it gives back the swap usage per PID: it is right, isn't it?
Could you please ...
0
votes
1answer
86 views
bash script parameters & error trapping
I've created a bash script for a cron job that I'm using to convert an uploaded file to a couple of formats and then moving it to another folder where another cron job will store it away, etc.
The ...
0
votes
1answer
80 views
Determine ArcGIS version for on RHEL machine
I have a machine that is running arcgis but can't determine what version it is. The documentation I have found so far has been fairly sparse especially with regards to the linux server version of the ...
0
votes
1answer
352 views
ionCube - Works on CLI but not with HTTP
I'm trying to install ionCube loader on a CentOS 5 machine.
I've installed php 5.3 & ionCube loader through the atomic yum repo.
when i check on the command line, php says ionCube loads fine:
...
0
votes
1answer
466 views
import/commit linux file system and unversioned files into svn
I am new for SVN. Shall i able to import/commit linux filesystem into SVN? Can u tell me which command is used for it? and how can i import/commit unversioned file into svn repository? and when i use ...
0
votes
1answer
282 views
amount (share) folder in Unix-AIX by using smitty?
how i can amount folder in unix-aix by using smitty command ???
0
votes
1answer
266 views
Installing software on xampp locally and linux LAMP online
All I initially wanted to do was install some software onto my server, I have spent the last few days trying to get my head round linux and feel like I have just fallen into the matrix!
I have xampp ...
0
votes
1answer
519 views
How do I change permissions on an existing folder share from the command line without having to delete the share and recreate it?
I used the following to create a folder share called "Running Virtual Machines" on a Hyper V R2 server:
net share "Running Virtual Machines"="C:\Hyper V\Running Virtual Machines"
Now I need to ...
1
vote
0answers
63 views
smbget looses mtime
Unfortunately smbget looses the mtime of files:
https://bugzilla.samba.org/show_bug.cgi?id=4199
Is there an other command line tool to get files which keeps the mtime?
1
vote
0answers
73 views
Is it possible to set up a pptp server in windows via console?
I want to be able to turn a machine into a pptp server from commandline so that it can be scripted, is this possible?
1
vote
0answers
292 views
Controlling rdp listener connections from command line
RPD on my windows 2003 server sometimes becomes incapable to accept connections. But netstat shows that port is listened.
c:\> netstat -ano | find "3389"
TCP 192.168.1.1:3389 0.0.0.0:0 ...
1
vote
0answers
96 views
Services do not appear in sc list
We have a couple of application services that are registered and appear in the MMC Service list, but when I use the sc command they do not appear.
sc query type= all
Are there restrictions on what ...
1
vote
0answers
103 views
Windows 2008 Scheduled Tasks and Parallel instance issue
I have a scheduled task launching a bat file which runs a CLI PHP script.
The scheduled task is configured to run every 5 minutes, and run multiple instances in parallel.
However, windows is ...
0
votes
0answers
23 views
Display only the last line of a windows command line executable
I'm trying to write a batch script that manages simple software deployments. One of the steps in the script compresses a file structure into a 7zip archive.
During the compression process, the z7ip ...
0
votes
0answers
40 views
windows command line start mysql with --skip-networking
Following How to start a service with certain start parameters on Windows. Any ideas why the following doesn't work?
sc start MySQL --skip-networking
mysql -uroot -p -e "show variables like ...
0
votes
0answers
82 views
How can I download an S3 binary file using Amazon's AWS CLI tool?
I am trying to download a binary file from an AWS S3 bucket using Amazon's new command-line interface. However, the tool responds with an error message.
$ aws s3 get-object --bucket myBucketName ...
0
votes
0answers
24 views
Merging multiple log files by date including multilines
I have several logs containing lines all starting with a timestamp, so that the following works as expected to merge them:
cat myLog1.txt myLog2.txt | sort -n > combined.txt
Problem is, that ...
0
votes
0answers
53 views
Differential backup missing moved folders (flawed archive attribute logic)
Recently I've discovered that my backup system it flawed: there are situation where various files/folders are missed.
I do my backup from local disk to a network NAS.
I use Cobian backup, and I have ...
0
votes
0answers
75 views
Admin-listener ports for every running Glassfish domain using asadmin utility
The title pretty much sums it up, but here's the long version.
There's a Glassfish server, with several domains running. The domains potentially can be set up in non-default location(s). To ...
0
votes
0answers
9 views
ataro utm 120 v9 how to view wireless clients via ssh CLI
in the utm there is a page that lists wireless clients and when they were last seen or if they are currently online
Is there a way to get this as a list via CLI over ssh?
I'm trying to write a ...
0
votes
0answers
43 views
How to redirect the output of the vmrun listProcessesInGuest command on windows?
I run vmrun.exe with listProcessesInGuest on the command line and get the list of processes displayed in the console window.
The exact command line is:
"C:\VIX\vmrun.exe" -T vc -h ...
0
votes
0answers
41 views
solaris + manipulate lltconfig command
I work on Solaris machine ( Solaris 10 ) , machines - de1a and du1b
regarding lltconfig command
is it possible to view from the lltconfig command only one device (NIC as e1000g0 ) and not all list ...
0
votes
0answers
207 views
can we convert postgresql dump to mysql dump thorough commandline?
Can I convert a PostgreSQL dump file into a MySQL dump? I tried but I get syntax error.
cd\
c:
cd "C:\Program Files\MySQL\bin"
mysql -u root -proot
pause
I run this batch file after I put this
...
0
votes
0answers
131 views
Windows Group Policy CMD scripting problems, XP
I am creating a local group policy to lockdown an XP work station. I have used "Run only allowed Windows applications" to create a whitelist of aproved apps. CMD.exe is on that list but I want to use ...
0
votes
0answers
338 views
Cloning Git repo from server to local machine - is my user level to blame?
Server: CentOS 5.7
Local machine: Macbook Pro, regular terminal client
Command issued:
git clone --bare ssh://myuser@xxx.xxx.xxx.xxx/home/projectname/public_html ~/gitrepos/projectname.git
...
0
votes
0answers
192 views
VPN in MS Hyper-V Server 2008 R2?
I am trying to connect a MS Hyper-V Server 2008 R2 machine (the OS with just a command prompt and settings panel) to a VPN Network and I can't get round to it.
I have tried using Rasdial but the ...
0
votes
0answers
100 views
Adding files to redmine via command line
I don't want to cross-post but I just realized this may the better website to ask the question I just posted at stackoverflow:
...
