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
1 answer

Is there a command line script I can use to check if servers have SQL Server 2008 DMO installed?

SQL Server 2008 does not install DMO by default. Is there a function or script I can use from the command prompt to check remote servers to see if DMO has already been installed? We were using a registry key check but thought that might not be the…
0
votes
1 answer

OSX: Undeletable files

So via what I suspect is a cron'd rsync gone awry, I noticed that I have ~25000 variants of .DS_Store in a directory that's on an external disk, they're named "..DS_Store.FOO" where FOO varies. The problem is that I can't seem to delete them, even…
geoffjentry
  • 151
  • 1
  • 6
0
votes
1 answer

Google Wave CLI client and googlewave.com

I'm trying to use the CLI client for Google Wave that Google have created with my @googlewave.com account. I can't seem to get it to connect -- does anyone know if this is actually possible, or if it will only connect to locally hosted wave…
Andrew Ho
0
votes
1 answer

Can the missing CLI items be re-added to Windows XP Embedded?

Can the missing CLI items be re-added to Windows XP Embedded? Examples include: sc, ping, and ipconfig.
Joshua
  • 779
  • 1
  • 9
  • 19
0
votes
3 answers

How can I make a command sent through ssh die if the ssh connection is killed?

When using SSH to send a command to a remote server, if the SSH connection dies the process keeps running. Are there any ways to have it kill the child processes if the SSH connection ends? Example: root@local:~# ssh root@server sleep 100 & [2]…
0
votes
4 answers

How do I do a net search for command-line parameters?

General Question: Let's say I'm using a command called bar and want to learn more about the -foo option. (Perhaps the man page didn't talk much about it). How can I search the internet for it? If I do a google search for bar -foo it will take…
Clinton Blackmore
  • 3,520
  • 6
  • 36
  • 61
0
votes
0 answers

Create Windows Server with Openstack CLI

we´re trying to install Windows Server 2019 with Openstack CLI which generally works fine but after the server has been provisioned, a logon to the server is not possible. How to create the local admin account and automatically add this user to the…
0
votes
1 answer

What is the simplest way to set up shared/clustered read-write filesystem across servers?

What is the simplest way to set up shared/clustered read-write POSIX-compliant filesystem across servers where performance is not a major concern? Suppose I have two Linux servers S1 and S2 and an uninitialized (no filesystem) block device…
otujuhxv
  • 29
  • 3
0
votes
2 answers

Use original linux user bashrc also as root user

I extended the bashrc file of my linux user. This file contains extra aliases, functions, whatever is useful. It's synchronized with a playbook across our 100+ servers. When i'm working on linux I often escale to the sudo user. this is frustrating…
0
votes
1 answer

Linux tunnel device config

Currently, I have multiple android users connected to my server through TCP connection. Each authorized users have an interface and an unique IP address between 10.0.0.0 … 10.255.255.255. Whole user’s traffic as raw IPv4 data will pass to server…
Ali Khazaee
  • 111
  • 2
0
votes
3 answers

Convert all filenames to lowercase

Possible Duplicate: How can I recursively change the case of files and folders under bash How can I convert all file names to lowercase in a directory and its subdirectories, using a command or batch script?
Kop
0
votes
1 answer

With GCloud CLI -- how to list all instances associated with a particular schedule (i.e. resource-policy)?

Here is a picture of the WebUI for GCP, showing an "instance schedule" that has 3 instances currently associated with it: How can I list those same 3 instances using the GCloud CLI? I found commands to add a VM to a schedule: gcloud compute…
0
votes
1 answer

Cannot update Github key from CLI

I have only just tried to use github via git on the cli for the first time since they leaked their key and it needed resetting. I added the new key into known_hosts under users/luke/.ssh (Windows 11) (didn't work so I removed all existing known…
0
votes
1 answer

How to confirm openssl is reading its config file

Is there a simple way of changing the openssl config file and confirming with openssl command line parameters to confirm that it is reading the configuration file? (I'm trying to confirm that the openssl command is reading the file from the…
Brian
  • 1
0
votes
1 answer

PHP exec(iptables --help) works but exec(iptables --command) doesn't work

In PHP 7.3.33 and Apache 2.4 I want to run iptables from PHP (web server enviroment) in order to block/unblock IPs, from command line, this works fine: /usr/sbin/iptables --insert INPUT --source example.com --jump DROP But if I try from PHP with…