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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
39 views

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 ...
ansible_usah's user avatar
1 vote
1 answer
33 views

Is it possible to mount an .iso file to the CD/DVD device of an VMware Workstation using command line?

I'm on Windows and using VMware Workstation as my virtualization tool. Normally, if I want to mount an .iso file to my guest VM, I can do it through the GUI: I want to know if it's possible to do the ...
Fajela Tajkiya's user avatar
1 vote
1 answer
50 views

zsh completion ( compctl ) does not trig for command names containing dashes

I've used zsh compctl since forever (late 90s or early 00s) but strangly never run into this before. I realized today when I intended to make some compctl config for update-alternatives that my ...
frax's user avatar
  • 31
0 votes
1 answer
63 views

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 ...
Ali Khazaee's user avatar
0 votes
0 answers
81 views

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 ...
CrashNeb's user avatar
  • 101
0 votes
1 answer
25 views

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) (...
Luke Briner's user avatar
0 votes
0 answers
105 views

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 ...
Brian's user avatar
  • 1
0 votes
1 answer
152 views

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 ...
adrianTNT's user avatar
  • 1,077
0 votes
0 answers
197 views

Is there a way to check "boot after power loss" BIOS configuration from CLI?

Is there a way to check from CLI under linux (Debian based) how the BIOS is configured for "boot on power loss" ? I need something similar to Check `Restore on AC/Power Loss` from CMD/...
Kraal's user avatar
  • 121
0 votes
0 answers
27 views

MAMP CGI using specific PHP version for domain but using default PHP version for CLI

I'm using MAMP's CGI PHP so that each site can use its own PHP version... however, the CLI is stuck at MAMP's default PHP version, whichever I have selected. This defeats the whole purpose of me using ...
SteveExdia's user avatar
0 votes
2 answers
43 views

Windows "reg.exe" complaining missing user right when using "save" subcommand

When using "reg.exe" on the command line, when using the "reg.exe save" subcommand, i get the error message... "FEHLER: Dem Client fehlt ein erforderliches Recht." which ...
White-Gandalf's user avatar
0 votes
0 answers
415 views

resize "shrink" an .img file from the command line

Shrink an .img file from the command line I need to be able to shrink the .img for use on other drives. I can do this using gparted, but do not always have a GUI, so I want to translate the gparted ...
posop's user avatar
  • 237
1 vote
1 answer
531 views

Running different PHP CLI version depending on working path

I set up PHP-FPM to have different versions of PHP for different folders. This was necessary due to legacy code and was achieved using the apache's .htaccess. My question is: does anyone have a simple ...
bilogic's user avatar
  • 155
1 vote
0 answers
47 views

In program wipe, what does the number in parentheses mean?

In program wipe, what does the number in parentheses, after the pass number, mean? I've read through the man page several times and cannot find an explanation. Manual page for wipe
wtftech's user avatar
  • 31
0 votes
1 answer
348 views

Docker Hub login with Personal Access Token fails

Windows 11 hub.docker.com I setup Two-Factor Authentication and generated Personal Access Token (PAT) Docker Desktop is running. cmd.exe docker login --username <email for my account> Password: ...
BaltoStar's user avatar
  • 201
5 votes
2 answers
2k views

How to reset the password for an HP iLO5 account via CLI?

I was scouring Google for a CLI command to reset the password of HPE iLO 5 accounts but didn't get any proper response. UI solutions to reset the password or other tooling don't help me in this ...
Alex_P's user avatar
  • 183
1 vote
1 answer
2k views

Why does docker-compose issue the "wrong" exit code when errors occur?

I created a bash script to automate a borg backup of a running docker container. Before the backup is started, the container should be paused. The script should be executed only after the container ...
Nico's user avatar
  • 13
1 vote
1 answer
1k views

How to capture USB traffic using Wireshark in linux CLI?

I've found (hopefully) all I need in order to setup Wireshark and usbmon kernel module - including allowing a non-root user to capture USB traffic: https://www.wireshark.org/docs/wsug_html_chunked/...
tishma's user avatar
  • 193
0 votes
1 answer
915 views

I am creating a tun interface with sudo ip tuntap add dev <interface_name> mod tun, but it's not receiving packets when I ping it?

Here are my command when I set up the interface: sudo ip tuntap add dev router0 mod tun sudo ip addr add 10.0.0.138/24 dev router0 sudo ip link set dev router0 up Here is the output of ip addr show ...
Happy Jerry's user avatar
0 votes
0 answers
1k views

Appcmd.exe: How to set config the virtual directory by using it parent path?

Using Appcmd.exe, I am trying to change the configuration of the virtual directory using its parent path "IIS://localhost/w3svc/5/ROOT/Site123" where, 5 - is the parent site ID, Site123 - is ...
Sarath Kumar's user avatar
0 votes
0 answers
10 views

Need a CLI program to implement cloud level reentrancy protection

I have a kubernetes system which must run rake db:migrate before deployment. For reasons, we'd like to do this as an init container instead of a job. This seems like a more general class of program ...
Dewey Sasser's user avatar
0 votes
1 answer
18 views

Globing patterns

How can I make a command string work using globing patterns also in the given arguments? powershell.exe -c "&'c:\wind?ws\System32\more.com' C:\path\to\something.txt | findstr 'something'"...
jagghy's user avatar
  • 1
1 vote
2 answers
58 views

What program is being executed upon time command?

In my terminal in Ubuntu, I want to execute the time program with option -v, but it fails: $ time -v ls -v: command not found However if I specify the path /usr/bin/time of the program as such, it ...
Louis Coulet's user avatar
0 votes
1 answer
18 views

Ubuntu CLI Drive removed

I recently added a drive to my server. However, I check my computer this morning to find the drive doesn't show up on NTFS and I noticed that all folders and files were gone from that mount point on ...
Jacobta47's user avatar
0 votes
2 answers
439 views

Is it possible to connect to a user session and see its output in Linux?

I am replacing a windows app with linux command line app. It is supposed to output simple statistics so user can check if the app is alive. In windows it is run 24/7 and you can connect to a desktop ...
Boppity Bop's user avatar
-1 votes
2 answers
73 views

"Remember" the CLI commands you ran for a server [closed]

Assume you have a third party program running on a server. To configure it, you log in, apply some CLI commands and leave again. Every time you do this, you also copy and paste the commands to some ...
J Fabian Meier's user avatar
0 votes
1 answer
1k views

Execute sequence of commands in fortinet

I would like to execute three commands in a fortinet firewall, the commands are: #To enter in the config mode: config vdom #To select the virtual domain: edit "name" #To see the info I want: ...
aldegalan's user avatar
1 vote
1 answer
273 views

When I execute a script in crontab the output is in a different language

I am executing a script in a crontab that writes a log, when I run it as root, the log is written in spanish. But when I run it in the crontab, the output is in english. Is there a way to run the ...
aldegalan's user avatar
1 vote
1 answer
2k views

How to install packages from command line on Suse

What is the Suse version of apt-get or yum? Or how do I get one of them installed in order to install software packages from the command line? A fairly intense session of googling suggests that it may ...
Bazer Con's user avatar
0 votes
2 answers
4k views

Downloading a file using Windows CMD line with curl/wget

I have a client [Windows 10 VM] and a server [say a linux based VM]. I have Apache running on the Linux Server. I have a file on the linux server that I want to download on my windows client. I want ...
Software Fan's user avatar
0 votes
1 answer
4k views

Nginx/proxy not working properly

I recently uninstalled apache2 for Nginx I'm trying to listen on 88, 808 and 888 for my sites and redirect different subdomains for each (and another domain to another server). the problem is that ...
louis habert's user avatar
1 vote
2 answers
2k views

Using VMware ovftool to check existence of virtual machine (VM)?

What is the canonical way to use VMware's ovftool to query to see if a VM exists or not? If I run this command: ovftool vi://username@password@myvsphere/mydatacenter/vm/myvm I might get this response:...
MikeSchinkel's user avatar
-3 votes
2 answers
2k views

how to determine if I have the latest security update or not by powershell?

I'm a beginner to exchange server and powershell, I'm working on Exchange server (on-premise), how can I determine if I have the latest updates, security update, version of windows server (core) and ...
Ali Muhanad's user avatar
0 votes
2 answers
590 views

How to configure IP address to an Huawei AR158E interface?

In my work we saw one old Huawei AR158E router gathering some dust and I'm playing now with it seeing if I can give it some new purpose... So far I have been able to configure some VLANs and a VLANIF ...
k.Cyborg's user avatar
  • 121
-1 votes
2 answers
2k views

KVM nat command line

What is the correct way to setup NAT networking between KVM vm and host? KVM vm: No firewall Installed $ sudo arp-scan -r 5 -t 1000 --interface=eth0 --localnet 10.0.2.2 52:55:0a:00:02:02 ...
t09's user avatar
  • 21
-2 votes
1 answer
1k views

How to make a change in iis apppool using appcmd.exe

I want to edit the parts marked in the photo using appcmd.exe or another comman-line method.
User12's user avatar
  • 89
0 votes
1 answer
197 views

Get total %cpu,%mem for a process including all threads or sub processes?

Get total %cpu,%mem for a process including all threads or sub processes? For example rsync if you do the following, you get the %cpu,%mem for the parent process only. Where 9215 is pid of active ...
Schorschi's user avatar
-3 votes
1 answer
518 views

CISCO Configuration. DHCP & VLAN configured. But can't ping other VLAN clients [closed]

I have created a network testing lab with CISCO Packet Tracer. I have performed the following to get a DHCP and VLAN (with Trucking) working: Configured Router interfaces (g0/0 + g0/0.10-0.50) ...
noreasonban's user avatar
-1 votes
1 answer
593 views

How can I authenticate through application credentials to OpenStack using the CLI?

I know how to authenticate through user credentials and token to OpenStack via the openstack CLI. Now I would like to know how to use application credentials to authenticate. Using ...
aef's user avatar
  • 1,745
0 votes
2 answers
2k views

How to find out which version of OpenStack is running on a server?

I am managing an OpenStack mostly through the openstack CLI and the permissions to manage specific projects and their resources. Is there a command available to me that can tell me the release name or ...
aef's user avatar
  • 1,745
1 vote
2 answers
480 views

Push out Commands to all Domain PCs

I'm looking for a way to push out commands to all workstations. The scenario is as follows: I often go to environments that I am not familiar with to audit the network. Part of that is a network scan, ...
Juan BrickTech's user avatar
0 votes
1 answer
96 views

Looking for a CLI application that allows me to connect to server over SSH quickly

I'm looking for a CLI opensource application (Debian, Ubuntu) that allows me to connect quickly to a server using SSH. When I have a new server I just once configure the servers just once. After this, ...
Beach Chicken's user avatar
0 votes
1 answer
2k views

Is there any specific command to check all running processes inside a specific VM on ESXi?

I have a list of VMs running on ESXi. I have used vim-cmd vmsvc/getallvms to get a list of VMs running and also esxcli vm process list to get the World ID of VMs. I would like to get inside the Ubuntu ...
RRR's user avatar
  • 1
1 vote
0 answers
230 views

Some PHP extensions available only for root user

I have installed PHP 7.4 (from remi) on CentOS 8 since I need that version on CLI. The issue is with extensions, when I check modules (php -m) as root user I for example have redis enabled there, but ...
mixerowsky's user avatar
1 vote
0 answers
342 views

Not able to access the console when I install a guest VM on a KVM

I am trying to write a script for installing a guest VM on a KVM using virt-install. I have a knoppix live cd based iso. The underlying OS is Debian 6.0.2. I am using this command to install the guest ...
Shreyas DG's user avatar
1 vote
0 answers
412 views

using start /wait for a headless process in a batch file - any way to show the process is running?

So I have a large batch file, and in the middle it hits a start /wait command to run a silent install of an MSI. I'd like to have some animation or something to indicate that the batch file is in fact ...
Luke's user avatar
  • 557
1 vote
1 answer
165 views

Disconnected disks-Access denied, showing in explorer, but not showing in DISKPART and unable to remove them

I have Virtual machine (terminal WIN2012), which seems to have under some users connected some OLD and NO longer connected disks (local or network drives), which are not accessible for anybody (even ...
Jozef's user avatar
  • 61
0 votes
0 answers
59 views

Using Old Mac as Production Server

I am building a web-app and on my server, I need to execute some xcode-command-line-tools, so basically I come up with this architecture : Frontend(React) --> NodeJS(Ubuntu) --> MacStadium(...
Giovanni Cassanelli's user avatar
0 votes
1 answer
2k views

GOOGLE_APPLICATION_CREDENTIALS where is it?

I am trying to follow the directions to use cloud translation. At https://cloud.google.com/speech-to-text/docs/quickstart-protocol?hl=en_US are the instructions, but I am not clear on these. I have ...
Tere's user avatar
  • 1
0 votes
2 answers
3k views

Cannot access my server "Permission denied (publickey)."

Hi i have created a key ring on my server B I copied the public key of my server B to the authorized_keys file of my server A My servers are on Ubuntu 20.04 LTS When I try to transfer a directory from ...
Mathieu's user avatar
  • 45

1
2 3 4 5
32