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
5 answers

Windows XP batch file to block all incoming and outgoing traffic

Is it possible to block all incoming and outgoing traffic on a Windows XP host via batch file? Bonus question, I only want to allow 1 outgoing port and all traffic going over that port.
0
votes
1 answer

icacls in windows 7 does not give full permission to write files in root drive

icacls in windows 7 does not give full permission to write files in root drive. We have a very old application based on Omnis7 that needs to create and read/write files on drive C: when running as a restricted user. In Windows XP to give this…
0
votes
2 answers

Adding a CLI for PHP5 on live server

I want to add command-line support for PHP5 on my server. When I run aptitude install php5-cli I get a message saying that my PHP modules/packages have unmet dependencies. Here is a list of packages that suffer from these "unmet dependencies" and…
0
votes
1 answer

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 helps me to automate the execution of reskeymgmt…
linh dinh
0
votes
1 answer

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 explain me what does mean SWAP = 11m ? Moreover, it…
loredana
  • 1
  • 1
0
votes
5 answers

SSH command from PHP script - nothing, yet work at cmd line

I'm working on an EC2 box and trying to SSH command another box. The command works in command-line, even php -a interactive. However it does not work when running as apache. Example cmd:- system('ssh -i /home/me/keys/key.pem…
waxical
  • 344
  • 2
  • 5
  • 12
0
votes
2 answers

PSExec "access is denied" on WS '03?

I'm trying to execute commands to a remote server offsite and PSExec for some reason is not working. C:\> psexec \\LOC-Server -u AdminUser -p AdminPW cmd This won't even let me run command prompt. But when I RDP into \\LOC-Server with the AdminUser…
0
votes
1 answer

I have an LACCDB (Microsoft Access Lock File) on a shared Linux drive that I want to delete so that I can amend the database

I'm running Windows myself, but the drive is hosted on a Linux server. Basically, people map this drive to their Windows machine, open ACCDB files (which they're not supposed to do, we use ACCDE's) and then after they close out, the LACCDB sticks…
JMK
  • 778
  • 2
  • 7
  • 19
0
votes
1 answer

How to find out the log file name that a currently running process is writing to?

We've setup a cron-based invocation of a Java program every minute. This Java program invocation is written in a shell script and is setup as cron job. Each invoked Java program is directed to its own separate log file (using date & time as file…
Gnanam
  • 1,459
  • 13
  • 26
  • 32
0
votes
1 answer

How to start virtual machines on the commandline of a ESXi5 host?

How can I start virtual machines when I am on the commandline of a ESXi5 host over ssh ?
mit
  • 1,914
  • 6
  • 29
  • 42
0
votes
1 answer

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 problem is that I created this with a single…
Scott
  • 267
  • 1
  • 4
  • 10
0
votes
2 answers

Search and sync files from remote systems

I have a folderA remotely which has 2 subfolders folderB and folderC.I have to search for my file where it is located in the 2 subfolders(folderB and folderC) and should copy it. Is it possible with rsync and a script like thing.
0
votes
2 answers

How can I ensure non-corrupt file transfer in linux?

I have script scheduled with cron that transfers a file around to other machines using scp filename user@host:~ and today have noticed that sometimes the md5 of the files don't match. Upon closer inspection it seems the file is corrupt. My question…
James
  • 325
  • 2
  • 11
  • 22
0
votes
1 answer

Change VPS Default IP Address

I am using Ubuntu 10.10 I want to change my VPS's default IP. My VPS comes with two IPs, but it always show the first IP 184.22.111.120 when I check with this page: http://www.lagado.com/proxy-test But I want to use the second IP: 184.22.111.121 #vi…
DocWiki
  • 683
  • 2
  • 7
  • 8
0
votes
1 answer

Can you disable network interfaces from the command line in Windows Server 2003?

Was wondering if it was possible to disable network interfaces from the command line in Windows Server 2003? If so, how? Thanks!