Command Line interface (CLI)

learn more… | top users | synonyms (2)

-3
votes
0answers
23 views

how to view directory of files using commandline [on hold]

I have used a script on command prompt, which generates a plain text doc, which i saved as a .xls file, which shows all folders, subfolders and file names on a drive. I cant remember what the command ...
0
votes
1answer
23 views

'> instead of -> in mysql command line client?

Im using mac os terminal to insert data into the table of mysql database. I accidentally pressed something and instead of -> now i see '>. I have no idea what it means, what is it and how can i get ...
0
votes
0answers
17 views

Windows Server Backup not working on scheduled task but working with the “Backup Once”

I'm trying to create Backup Schedule from my local drive on a network share but Windows Server 2012 won't let me. I get the error "The parameters are incorrect". When I try the "Backup Once" with all ...
2
votes
1answer
23 views

How to get a list of sites in IIS 7.5 binded to a certain ssl certificate using command line

Situation: an IIS 7.5 server with 30+ sites and 10+ certificates and a few certificates may be obsolete. Obsolete means they're not binded to the ip:port of any site on IIS. I could check each site ...
0
votes
1answer
27 views

HTTP URL Redirection Command Line Trace [closed]

I have to produce definitive evidence that can be documented on a piece of paper, proving that one URL redirects to another. When you browse to the URL in question, the web server responds with an ...
1
vote
1answer
33 views

Rename NTFS file to eliminate multiple periods via batch

I at wits end trying to rename NTFS files that have technically legal, but problematic multiple periods in my Windows 2012 Server share Files are dropped in a share that look like this: ...
0
votes
1answer
38 views

Getting IIS Manager Application Pool Defaults from the command line

I was tasked to confirm settings on some (many many) servers. One thing I was told to do was to go in to Server Manager, Roles, Web Server (IIS), Internet Information Services (IIS) Manager and then ...
-1
votes
3answers
47 views

Run Commands without Spaces [closed]

I won't bore you with the details but I need to pass a command to a file without spaces, with each space it considers the next text to be a variable which is not the case. I need to be able to create ...
0
votes
0answers
23 views

API for Edgewater EdgeMarc routers

We need to programatically change network settings on an Edgemarc router. Since these are just Linux boxes the command line steps are straight forward, but their manual warns not to use the CLI (only ...
0
votes
0answers
59 views

How to compile capacity and used capacity of an EMC VNX via CLI?

I'm automating a report that will essentially duplicate the information shown in the Storage Capacity Summary chart from the EMC Unisphere web interface. I need to perform this from the command line ...
1
vote
1answer
24 views

unable to set service user account via command line

I am writing a puppet script to automate creation of TeamCity agents on Windows 2008 R2 SP2.For this, I need to set a custom TeamCity service user account via command-line. So far, I have tried this ...
1
vote
0answers
39 views

config variable php_suffix does not match

I have a php instance on Webuzo (centos-6-x86_64.openvz) in /usr/local/apps/php54/. It already has pecl and phpize in /usr/local/apps/php54/bin/. When installing igbinary with command ...
1
vote
0answers
20 views

Use Amazon cloudwatch cli to create alarm on certain instance

I'm hoping to use mon-put-metric-alarm to create alarms on my instances, but there seems no way to pass instance information such as instance id to mon-put-metric-alarm, and the alarm I created by ...
5
votes
2answers
198 views

Non-interactive creation of SSL certificate requests

Is there a way to create SSL cert requests by specifying all the required parameters on the initial command? I am writing a CLI-based web server control panel and I would like to avoid the use of ...
2
votes
1answer
155 views

configuring command prompt in Asterisk CLI

I am trying to set up color prompt in asterisk CLI. In the documentation I have found this: %Cn[;n] Change terminal foreground (and optional background) color to specified. A full list of colors may ...
1
vote
0answers
158 views

OpenVPN ignoring openvpn.conf, throws unrecognized or missing option

I set up openVPN on Debian, but can't start the service. [FAIL] Starting virtual private network daemon: openvpn failed! Syslog says Options error: Unrecognized option or missing parameter(s) in ...
0
votes
1answer
25 views

AWS: Can we enable MFA for Command Line access?

I enabled MFA for a AWS user and it works, when the user sign in to AWS Console. However, this user can also access all services via CLI (by access key and secret key), does that mean the CLI will ...
2
votes
1answer
96 views

How to interactively change the password of a user account on a remote windows machine (in the same LAN) from a local machine's command line prompt? [closed]

Suppose there is a user account named testuser on a windows machine and it belongs to the Users group and the Users group only. The current password of testuser is known. The question is, how to ...
0
votes
1answer
50 views

Composer works as root but not as a common user, why?

I have installed Composer Globally as this docs shows and it works for root user on my server CentOS 6.6 but as a normal user lets said webvm user it doesn't saying that composer is not found (see ...
0
votes
0answers
27 views

How to list all VPC dependencies in AWS CLI?

I want to delete VPC through CLI. But get an error: A client error (DependencyViolation) occurred when calling the DeleteVpc operation: The vpc 'vpc-xxx' has dependencies and cannot be deleted. ...
0
votes
0answers
22 views

VMware CLI cannot seem to find where to create VM?

I have installed VMware CLI 5.5 on a CentOS box to bash-script VM functions, including creating VMs. I can not find the right command to create a VM. Has anyone created a VM using esxcfg or ...
2
votes
1answer
49 views

windows update configuration from command line

I'm building a script to rebuild a server from scratch. I want to configure Windows Update as below. I can set the first option using reg add ...
0
votes
2answers
29 views

How to check disk usage of directories in a particular partition?

If I use "df /dev/sda1 -h", it only shows the whole usage info like used and avail. But I want to see the usage of each directory. However, if I do "du -h --max-depth=1", it shows all the directories ...
3
votes
4answers
295 views

How can I view information for domain groups from the command line with just core Windows utilities?

I'm familiar with using the NET commands to get information for local users and groups in most scenarios. However, I'm running into a problem using it to get information for domain groups with long ...
0
votes
0answers
16 views

How do I get Spark to load multiple chat rooms from the command line?

We are using an XMPP chat client called Spark, connected to an Openfire server. I have a task to try and have our Spark users automatically load up a chat room, depending on what their group ...
0
votes
1answer
165 views

Cisco IOS: Logging only debug messages on command-line

I want to have a quiet command-line such as (config)# no logging console causes. Still, I want to make use of # debug commands. It appears to me that # debug depends on syslog level 7. So I cannot ...
1
vote
1answer
88 views

The best approach to access server in DMZ (outside domain) from LAN via command line (MS Windows)

I have two servers: SVR1 (Windows Server 2008) in LAN - part of domain SVR2 (Windows Server 2008) in DMZ - workgroup I need to access SVR2 from SVR1 via command line batch - copy some files and ...
0
votes
1answer
85 views

change in Registry settings does not reflect for the corresponding settings in GUI in windows 2003 server

I have updated registry value for Software Restriction Policies/Security Levels. However, changes were not reflecting in the GUI. I have restarted the server still no effect. below command is used to ...
0
votes
2answers
141 views

How to run batch file without a window in ONE file

I know how to run batch files without a window thanks to this question here: Run a .bat file in a scheduled task without a window. The first answer is the one I am using. It states that to run a ...
0
votes
2answers
47 views

Using find to exclude a directory and tar up everything else in a directory

I have following in a directory: dir1 dir2 file1 file2 I want to tar up everything except dir1 When I do: find . -path '*dir1*' -prune -o -print I don't see dir1 in the output ( as expected) ...
1
vote
1answer
59 views

Will systeminfo's “OS Name:” line distinguish between Windows 2003 and 2003 R2?

First, please verify visually that you have a 2003 R2 installation by opening Control Panel\System Properties and checking that R2 is shown like this: Alternatively, R2 should be mentioned on the ...
-3
votes
1answer
47 views

How does “yum info” work? [closed]

I want to know how the yum info command works. I know yum info will display information about the installed package, but I really want to know which file it reads for that information. Whether it's ...
0
votes
2answers
38 views

Replace date in epoch (seconds) format to normal in a log file

I am on a ubuntu machine trying to read from log files and found the logs contain date and time in epoch format(seconds). How can I convert these dates in numbers into any readable format from command ...
0
votes
1answer
374 views

Change user password on other domain command line

I'd like to change user's password using cmd.exe on domain account. I tried net user user_name * /domain but it doesn't work, because my user is on another domain. How can I specify, to which ...
-1
votes
1answer
200 views

How to display free disk space on cifs mount on linux command line? [closed]

In case there's any distinction between OS and shell necessary, I want to run the command on Ubuntu 14.04 with Linux 3.13 in GNU bash 4.3.11. mount.cifs's version is 6.0 using smb2 protocol. After ...
3
votes
8answers
344 views

Ping stops responding after the first line

I have a problem with the PING command on Windows 8.1. During a ping, the command returns no further output after sending the first ping request. For example: ping 192.168.1.200 Pinging ...
1
vote
1answer
98 views

Simple backup tape wiping, from linux shell?

I have a pile of old unencrypted backup tapes I want to discard, and I'm looking for a really simple and free erase method. I have previously used the following method to zero hard drives on linux. ...
0
votes
0answers
71 views

How to modify environment variable in Apache for CLI

I have a Zend framework 2 application which needs to be configured through an environment variable. On my local host (Windows) for example I set APPLICATION_ENV = local and with ...
0
votes
0answers
23 views

When changing the Win display lang, will builtin CLI tools params / stdout|stderr messages also change?

I need to write a CMD script (other shells are not allowed / available) that will execute on multiple servers with different display languages. When looking at an Windows built in tool, such as ...
0
votes
1answer
110 views

IBM AMM BladeCenter 39Y9661 problems

i'm working on a bladecenter S and i try to update my amm with putty via COM port, but when i want to see my version it doesn't work i use like every time this command: env -T system:mm[1] info ...
-4
votes
1answer
553 views

“ifconfig” command not found and networking tools package information needed [closed]

I have 2 questions : 1) "ifconfig" command is not found in centos 7, i tried to find in /sbin, there also command is not available. Doesn't this essential tool not included in minimal installation ( ...
1
vote
1answer
88 views

AWS EB Change db name via DBInstanceIdentifier

I'm using ElasticBeanstalk for many apps and many environments (not that many but just making a point here). I'd like to have my databases (RDS instances) have human-readable names. When I change a ...
3
votes
1answer
103 views

Troubleshooting DNS issue

I am trying to troubleshoot a DNS issue I am currently having with a new project host on an AWS EC2 instance. It is a brand new domain, and I have already updated the nameservers on the registrar ...
1
vote
2answers
477 views

Kill all currently running cron jobs

For some reason my cron job scripts aren't exiting cleanly and they're backing up my server. There are currently a couple hundred processes running for one of my users. I can use the following command ...
2
votes
3answers
437 views

How can I deploy template-based VM from Linux?

We are trying to provide our Linux engineers with a CLI to deploy VMWare vSphere VMs using templates. The vSphere CLI looks promising but the documentation doesn't mention templates. Does anyone ...
0
votes
2answers
145 views

How to check the connection to remote server with a digital certificate (client authentication)

I got a digital certificate with extensions for server and client authentication and a private key. Now I want to connect to a remote server (REST web services) which should accept my requests ...
-1
votes
1answer
34 views

tail -n equivalent for X last chars of a file?

I'm searching a way to display X last chars of afile. I've a big log file with everything on 1 line... I'm just interested for the last chars of this log. I didn't found anything to solve my ...
0
votes
0answers
63 views

Checkpoint Firewall - R75.3 - how to view time of recent CLI change

I'm trying to figure out when a colleague processed a change in the last couple of days. Very in experienced in expert or router modes. Any tips? Regards!
0
votes
0answers
28 views

How do I change the deploy directory when using Elastic Beanstalks CLI tool?

When I deploy using the EB CLI tool, with: git aws.push It deploys to /var/app/current How do I change that to deploy to /var/www/html ? Thanks
0
votes
1answer
520 views

Elastix “asterisk -r” command not working “-bash: asterisk: command not found”

I'm having trouble administering the current version of Elastix from the command line on a CentOS 6.3 box. I believe the command I'm look for is asterisk -r however I cannot figure out how to access ...