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
1answer
16 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 ...
-3
votes
1answer
33 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) ...
-1
votes
1answer
30 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 ...
0
votes
1answer
39 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 ...
1
vote
2answers
29 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, ...
0
votes
1answer
34 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, ...
0
votes
1answer
40 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 ...
0
votes
0answers
11 views

How to script out an install with flags?

I've downloaded an installer file in .msi format. I'm wanting to figure a way out to script the installer so that I can run it through one our automation tools and have it install and configure the ...
1
vote
0answers
20 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
26 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 ...
1
vote
1answer
30 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 ...
0
votes
0answers
46 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(...
0
votes
1answer
195 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 ...
0
votes
2answers
172 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 ...
0
votes
0answers
987 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-...
0
votes
0answers
19 views

Netcat listner is automatically terminating the session

I'm in a virtual environment set up by the school, in which I'm supposed to change a user to root. I have a program that runs each 5 minutes and added this code to the program. The code is provided ...
0
votes
1answer
205 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 ...
-1
votes
2answers
191 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 ? ...
1
vote
0answers
33 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/...
0
votes
1answer
44 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 ...
0
votes
1answer
64 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 ...
0
votes
1answer
479 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 ...
1
vote
1answer
75 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....
0
votes
0answers
157 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 ...
2
votes
1answer
321 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 ...
0
votes
0answers
97 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-...
0
votes
2answers
96 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 ...
0
votes
1answer
97 views

Powershell returns access denied on non-os files used by IIS site

I am connected as a local administrator using RDP to my WIN2K16 server, and manage it using gui and powershell. Overall I have full control over the machine, and never had permission errors using both ...
2
votes
2answers
528 views

InfluxDB 2.0 | Backup results in `read:dbrp is unauthorized`. How to migrate bucket data?

We are running an InfluxDB 2.0 instance in a docker environment. For some weeks we have collected data using telegraf and store them into a bucket. Now, we would like to do a backup of our data. What ...
0
votes
1answer
24 views

How can I monitor cli commands on one machine and execute them on another in real time?

I'm trying to make a highly available topology, by executing all of the cli commands that have been executed from one machine to another - Doing this will syncronize their configurations. Therefore, ...
0
votes
1answer
44 views

Execute a Program On Remote And Send Back Resulting File

we have a powerful server to compile any code on it. For reasons, I am generally not allowed to copy my files to the server, and when I can, I can only use /temp which will be deleted after a reboot. ...
0
votes
0answers
18 views

Create user - map network drive CMD

I have a pipeline which I want to do automatically (probably with a bat file) without the need to do all steps manually on my windows 10 machine. Pipeline steps: Create a normal user account e.g ...
-1
votes
1answer
343 views

Basic setup of an Aerohive AP245X via CLI

I recently acquired an Aerohive AP245X (Rev. A) secondhand without a GUI of any sort. I reset it by pressing the button for however long. Now I want to set it up as a normal Wi-Fi router w/o any ...
1
vote
2answers
1k views

Programmatically managing groups & users in GSuite via the API

I have a script that leverages the gcloud tool to create service accounts for a project. I'd like to be able to create GSuite groups and add the service accounts to them within the same script as ...
0
votes
3answers
565 views

I'm getting Permission Denied when redirecting output from CMD to a text file using the logitech_dfu tool

I've gotten this output using this command you see here from the Logitech instructions, and using the ">" operator before the file names in said command. It errors, and does not place anything in the ...
0
votes
0answers
80 views

Cannot connect to SSH for AWS EC2

I can't connect to my AWS EC2 Ubuntu server using SSH. Every time I want to connect using SSH, it gives: $ ssh -i key.pem ubuntu@[IP Address] Connection closed by [IP Address] port 22 With -...
0
votes
2answers
5k views

Powershell script : Set-ADUser -clear with multiple attributes in variable

I want to clear multiple attributes by using variable in Powershell script (version 5.1.17763.1007) It's work : Set-ADUser -Identity $($user.SID) -Clear Initials,info It's work also: $emptyParams='...
0
votes
0answers
81 views

How can I run a scheduled task on domain controller whenever a domain user logs into the domain?

I need to log domain user logins & logouts to an Oracle database. Not all computers have Oracle drivers, but one of the domain controllers does. So I have created a script which writes the ...
3
votes
4answers
3k views

How to check IPv6 address via command line?

How do I check the IPv6 address via command line? For IPv4 I simply use: curl ipinfo.io/ip This doesn't work for IPv6.
0
votes
0answers
791 views

How to run openstack components' cli without SSL validation?

(I use IPv6_Address instead of real IP address) .openrc setting: export OS_CLOUD=mycloud export OS_USERNAME=myusername export OS_PASSWORD=mypassword export OS_PROJECT_NAME=myproject export ...
0
votes
1answer
27 views

CentOS 7 escape “-r”

I am using CentOS 7. I have a folder name "-r". This happened accidentally when I executed a tar command. I need to remove this folder but somehow -r option is taken as switch to the commands rm,...
1
vote
0answers
199 views

systemd-networkd: Set DNS via CLI for managed link

I want to set the DNS for an interface managed by systemd-networkd via cli. The file system is mounted read-only, so is there way to achieve this without manipulating any files? I tried e.g.: ...
2
votes
1answer
4k views

Check 'effective permissions', 'effective access' from command-line, Windows/NTFS

How do I mimic Advanced Security Settings 'Effective Access' tab in command line (Win10 notably)? Prefer built-in tools, I'm about to evaluate if sysinternals AccessChk can accomplish this icacls ...
1
vote
1answer
58 views

Rename file with invalide filename

I have a buch of files on a Linux machine that are using invalid filenames. I tried using the "detox" ultility, as well as convmv and recode, but they keep failing with the error recode: fopen (Entw�...
1
vote
1answer
349 views

How do I convert a plaintext file to a PDF on the command line on Windows 10 without paying money? [closed]

All I want is to turn a .txt with a proportional font (monospace/Courier New/Fixedsys/whatever) and fixed column width (80 chars) to be turned into a correct PDF document, so that it can be printed or ...
0
votes
0answers
515 views

How to create a Sandbox Environment in AWS?

I am trying to create a Sandbox playground in AWS for Users to practice some resources for 30min, after that, all resources should be deleted and account temporary account should also be deleted. I ...
-1
votes
2answers
467 views

df -kh command in linux is showing 100% storage but df -i showing 18% storage why it is happening?

Output of df -kh [root@mavdu ~]# df -kh Filesystem Size Used Avail Use% Mounted on /dev/sda1 2.9G 2.9G 0 100% / devtmpfs 5.7G 0 5.7G 0% /dev tmpfs 7.7G 0 ...
0
votes
2answers
100 views

Tag/Trunk Cisco 350x

I am pretty new on the networking and cisco world. As far as I learned, tagging is just assigning a port to a vlan, and, as per definition, trunking is assigning a port to more than one vlan I am ...
0
votes
1answer
57 views

3PAR 7400 cli setup

Unfortunatelly we don't have a GUI so we use cli. How to allocate physical disk space to free space? I tried servicemag, admithw,admitpd cmd but freespace (showspace) is equal 0 3PAR01 cli% showsys ...

1
2 3 4 5
31