Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
1 vote
2 answers
40 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 ...
user avatar
0 votes
0 answers
5 views

midnight commanger hide dir changes from internal history

I have a small gripe with mc lately. Don't remember seeing this before and it is quite annoying. I usually open mc and then Ctrl+o to go to the shell. Do some stuff, Ctrl+o back, change to another dir ...
user avatar
  • 131
-1 votes
0 answers
19 views

Is there a tool on Centos to send command output over udp? [migrated]

I want to send output of watch cat file.txt to a udp port. Is there something already for it?
user avatar
0 votes
0 answers
13 views

Error while making graphs using json files and python

arunkannan@ubuntu:~/cascade-cpp$ make graphs mkdir -p study/graphs/papers rm -f study/graphs/papers/*.png source /home/arunkannan/cascade-python/env/bin/activate && \ python /home/arunkannan/...
user avatar
0 votes
1 answer
15 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 ...
user avatar
0 votes
2 answers
31 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 ...
user avatar
0 votes
0 answers
18 views

Ubuntu CLI Device timed out

I recently added a drive to my server, that I previously used as swap space--overkill, but I didn't need it elsewhere. However, I check my computer this morning to find the drive doesn't show up on ...
user avatar
-1 votes
2 answers
62 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 ...
user avatar
0 votes
0 answers
85 views

Set PHP CLI configuration to load XML modules

My Linux Ubuntu 20.04 server is running PHP 7.4 using FPM. I have Joomla installed and am trying to run a script inside the cli directory on the site. The xml PHP module is installed under PHP 7.4 FPM,...
user avatar
0 votes
1 answer
74 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: ...
user avatar
1 vote
1 answer
40 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 ...
user avatar
-1 votes
1 answer
211 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 ...
user avatar
0 votes
0 answers
24 views

ejabberdctl : how to change room owner?

After reading tons of documentation, I found no other hints than trying the following command : ejabberdctl set_room_affiliation room_name server.fqdn user_name owner but when reading whether it has ...
user avatar
  • 11
0 votes
2 answers
234 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 ...
user avatar
0 votes
1 answer
692 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 ...
user avatar
0 votes
0 answers
73 views

sed works fine from interactive shell but not from script

Trying to enable/disable xdebug on my php-fpm docker container. If I start an interactive shell using docker exec my_container bash then run: sed -i 's/^#zend_extension/zend_extension/' /usr/local/etc/...
user avatar
  • 161
0 votes
0 answers
20 views

How to throttle filesystems on Pure FlashBlade

I'm extremely perplexed by the lack of information on the web about Pure Storage CLI commands and other information. I'm currently looking for a way to throttle one or more filesystems (volumes) on a ...
user avatar
  • 81
0 votes
1 answer
601 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:...
user avatar
0 votes
0 answers
72 views

How to perform bulk installation for MSI with parameters using Group Policy?

How to push MSI with parameter using windows Group Policy? I am using this command to install product manually on single machine: MsiExec.exe /i "MyProduct.msi" SECRETKEY="key" ...
user avatar
-3 votes
2 answers
520 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 ...
user avatar
0 votes
2 answers
127 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 ...
user avatar
  • 111
-1 votes
2 answers
326 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 ...
user avatar
  • 11
-2 votes
1 answer
317 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.
user avatar
  • 69
0 votes
0 answers
145 views

Windows Task Scheduler cmd commands for restarting a failed task

I used these commmands for creating a task scheduler which runs an application daily at specific time. SCHTASKS /CREATE /SC DAILY /TN "MyTasks\Notepad task" /TR "C:\Windows\System32\...
user avatar
0 votes
1 answer
34 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 ...
user avatar
-3 votes
1 answer
117 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) ...
user avatar
-1 votes
1 answer
210 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 ...
user avatar
  • 1,675
0 votes
1 answer
1k 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 ...
user avatar
  • 1,675
1 vote
2 answers
101 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, ...
user avatar
0 votes
1 answer
46 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, ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 1
1 vote
0 answers
47 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 ...
user avatar
1 vote
0 answers
153 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 ...
user avatar
1 vote
0 answers
187 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 ...
user avatar
  • 567
1 vote
1 answer
77 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 ...
user avatar
  • 61
0 votes
0 answers
52 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(...
user avatar
0 votes
1 answer
792 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 ...
user avatar
  • 1
0 votes
2 answers
701 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 ...
user avatar
  • 35
0 votes
0 answers
2k views

gRPC failed with StatusCode.UNAVAILABLE: failed to connect to all addresses

I am trying to set up Tinode messenger on Debian 10 Buster server. For some reason when I run a Pyhon command to access messenger's grpc service on localhost, port 16060: python tn-cli.py --login-...
user avatar
  • 3
0 votes
1 answer
527 views

Why is MySQL taking up all the space on my server?

I have a server with Ubuntu 20.04 LTS and MySQL 8 My system drive is normally around 11gb out of the 20gb available. For a week my database has used everything. Why is MySQL taking up all the space on ...
user avatar
-1 votes
2 answers
195 views

How to know the file or the directory which consumes all the space?

I have a server with Ubuntu 20.04 the problem is that disk/dev/vda1 partitiom is full. However, I have almost nothing to install. How do you know which file or directory is consuming all the space ? ...
user avatar
1 vote
0 answers
65 views

Difference between 'sudo gem install something' and 'gem install something'

In this case I'm using gem as an example, but I think it can be extended to any other program. I use a Mac and I installed rails using command gem install rails from directory /Users/myusername/...
user avatar
  • 111
0 votes
1 answer
48 views

Why is my database not deleted?

I have seen in several tutorial that the "DROP" command will drop the database, but it is not deleted. Why is my database not deleted ? mysql> DROP DATABASE www_example_com; Query OK, 645 ...
user avatar
0 votes
1 answer
783 views

How to get URLs for requests currently served by Nginx?

As the title explains, I want to know the URLs for requests that are currently being served by Nginx, all the answers regarding nginx_status endpoint talk about the number of requests, if possible I ...
user avatar
  • 251
0 votes
1 answer
2k views

Executing Remote commands on target machine via WinRM in workgroup environment

I'm looking forward to run special commands on a target machine in my local network (workgroup, no domain join). The machines have been previously configured with Enable-PSremoting etc.. to tolerate ...
user avatar
1 vote
1 answer
339 views

Can't set open files limit for user www-data and process PHP in ubuntu 16.04

I am having trouble setting the open files limit for user www-data and process PHP in Ubuntu 16.04. I have set all the following to 65535: /proc/sys/fs/file-max /etc/sysctl.conf /etc/security/limits....
user avatar
1 vote
0 answers
707 views

Login to Windows 10 through OpenSSH Server As Regular User gives Administrator Privileges

I have installed OpenSSH server on a Windows 10 system and added my public key to the file at C:\Users\foo\.ssh\authorized_keys. However, when I log in to the Windows account using SSH and created a ...
user avatar
1 vote
1 answer
922 views

CentOS command not found

When I login to my CentOS 7 Server I get a couple of errors. Similar command is: 'tty' bash: ls: command not found... Similar command is: 'lz' /usr/libexec/grepconf.sh: line 5: grep: command not found ...
user avatar
0 votes
0 answers
119 views

How do I find the ProtonMail Bridge PID file on my server?

I installed Monit on my server, as well as the "ProtonMail Bridge". I followed the following tutorial : https://pychao.com/2020/06/10/update-on-using-protonmail-bridge-on-headless-wordpress-...
user avatar
  • 35
0 votes
2 answers
101 views

How do I locate a service on my server?

I installed Monit on my server, as well as the "ProtonMail Bridge". How to know the path of the "ProtonMail Bridge" service to add it to Monit ? ubuntu@www-example-com ~ $ ps -ef ...
user avatar
  • 35

1
2 3 4 5
31