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
-4
votes
0answers
24 views

Router unable to obtain IP [closed]

I own a d-link router model DSL-2877AL.. used to work flawlessly in the past 8 months but recently the routers internet light will always stay red which indicates a failed PPPoe negotiation.. VDSL2 ...
0
votes
0answers
32 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
15 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
33 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 ...
0
votes
1answer
56 views

Programatically 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
2answers
42 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
39 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
332 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
35 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 ...
1
vote
2answers
90 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
66 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
22 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,...
0
votes
0answers
15 views

How to use cinder command even set environment for it?

I have set environment for openstack: cat ~/.openstack/openrc.sh export OS_CLOUD=mycloud export OS_USERNAME=myuser export OS_PASSWORD=mypass Define OS_CLOUD as: mycloud: identity_api_version: ...
1
vote
0answers
58 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
326 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
27 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�...
0
votes
0answers
80 views

Using binary from docker container on a host

I am trying to seed a [DB2] database running inside a docker container, with a script sitting on the [MacOS] host. My problem is that when I run the seeder on the host, it wants to execute db2 command/...
1
vote
1answer
45 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
59 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
113 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
53 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
0answers
25 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
vote
0answers
37 views

Terminal command to show a specific line extract from the output, along with the full output

I have a build command that outputs a lot of content, and within it, there's a link that I need to copy & paste. So I'd like to be able to do some terminal acrobatics so that this command does ...
0
votes
2answers
69 views

Is there a command to physically identify a particular Allied Telesyn switch in a rack among multiple switches?

I have several identical older Allied Telesyn switches (model AT-FS8326) mounted in a rack without any labeling. I know their IP addresses and I have the access to their CLI over the SSH protocol. I ...
-1
votes
1answer
154 views

Is there a TeamViewer like service for command-line access to a Window desktop?

I want to connect to a remote Windows 10 Desktop computer via the command line. I know I could install an SSH server, but then I need to configure the router, or a VPN. Is there a service (preferably ...
0
votes
0answers
236 views

How to stipulate ufw ICMP/ping rules from the ufw(8) command line in Ubuntu Linux?

How can one stipulate the following ICMP/ping-oriented rule (which works when inserted into /etc/ufw/before.rules) from the ufw(8) (UncomplicatedFirewall) command line instead of the /etc/ufw/*.rules ...
0
votes
1answer
49 views

Ubuntu command line, not recognizing common commands and permission errors as well

I am facing a very weird problem, just cannot put my finger on it. I am migrating my website from shared hosting to a self-managed VPS on AWS LightSail. I tarballed the entire public_html directory ...
0
votes
0answers
149 views

expand RAID array with storcli

I replaced small HDDs with bigger HDDs, so that my RAID10 virtual disk is now showing freespace. The two respective underlying RAID1 arrays are also showing freespace. I am now trying to expand the ...
1
vote
0answers
79 views

How to disable global 2FA policy with CLI

I would like to ask if it's possible to disable the global 2FA policy (everyone need to activate 2FA before accessing gitlab) but I can't disable on the web interface because I can't activate it, it ...
0
votes
0answers
85 views

I want to add wan pppoe in linksys x3500 using telnet

i successfully added atm by this command: wan add interface atm 0.0.100 --linktype EoA and when i add pppoe using this command wan add service atm0/(0_0_100) --protocol pppoe --igmp enable --...
0
votes
2answers
34 views

Bash run a program and repeatedly pass it data

I need to write a bash script to run a program and then every 5 seconds pass data to this program. The program accepts command line input and then will return some data. I currently have ./a & ...
0
votes
1answer
28 views

Interpretation of asterisk on command line - permissions?

Ubuntu 16.04.6 LTS A weird one at first, but I think I narrowed down my issue to a question of permissions and how asterisk(*) is interpreted on the command line because of it. I was originally ...
0
votes
0answers
151 views

Arista 7048T-A Enabling ethernet ports, interface does not exist

On the switch I'm trying to enable the ethernet ports for internet access to no avail. After setting the DNS, Default gateway I'm now trying to enable 2 ethernet ports on the switch (port 1 and 2 but ...
0
votes
1answer
315 views

How to access Arista switch login?

I have an Arista 7048T-A switch that needs to be set up. However I can't seem to access the login prompt for the switch. I'm using PuTTY over serial connection. What i mean by not being able to access ...
1
vote
1answer
454 views

AWS CLI to get list of instance from

How can I get list of all Instances running under multiple Accounts by using Aws CLI I have my profile configured, need assistance with looping, assume roles and than write output in a file Cheers
0
votes
3answers
1k views

How can make changes to my smb.conf file go live without a reboot?

On our Centos 7 server, I added create mask = 770 to my smb.conf in order to force permissions on the files our Windows users store in a directory. Then from the command line, I entered the following:...
0
votes
0answers
31 views

AWS CLI S3 access with V2 signing

I have a requirement to access data in an S3-compliant object store backed by DDN WOS. Due to particular circumstances I'm having trouble getting vendor support. The recommendation is to use s3tools/...
0
votes
0answers
10 views

Keeping CLI tools in sync on Mac clients

I manage around 10 Macs in a network. We have a lot of scripts that rely on tools like ffmpeg, 7z, jpegoptim, etc. I use mostly homebrew to install and update the tools. So far homebrew is running on ...
0
votes
0answers
33 views

How to get status of a RAID volume on AMD (A55) RAID controller in Windows?

We have a PC used as a Windows server. There's a RAID 1 volume set up using built-in controller (AMD A55 chipset). How can we get volume status data (to use with zabbix)? My research found rcadm ...
2
votes
0answers
77 views

How do I enable or bond the 80MHz channels on a Cisco 3502i AP in autonomous mode?

I have a Cisco AIR-CAP3502I-A-K9 using F/W ap3g1-k9w7-xx-153-3.JF5 in autonomous mode. I have tried everything I can think of (Google has NOT been my friend) to configure the 5GHz radio to use 300MBps?...
1
vote
1answer
31 views

Desktop To Command Line Toggle for Default Command Line Environment? [closed]

[Fedora 30 Webserver] I am wanting to use MySQL Workbench and Wireshark (amongst other things) on my server, but neither of those two programs can be made to work on the command line; so what I am ...
0
votes
0answers
17 views

CLI & PHP: file running successfully but not creating or updating file

Running Ubuntu web server. I have a PHP script that creates a sitemap file based on database entries. If I run the file directly, it works and creates the sitemap.xml file as expected. I'm trying to ...
0
votes
2answers
216 views

Disk usage (du) displays TB not MB

I have an issue while running du that it does not display the usage in units of Megabytes (as expected with -m switch) but TB: $ du -mhs /mnt/b 2.0T /mnt/b How can I get a more granular result?
0
votes
1answer
151 views

Export a single entry of the registry

Is this posssible? For example i have a entry with the Name "DefaultProfile" and the Value "test". How can i export only this one entry not the full tree? I was thinking about somethign like reg ...
0
votes
0answers
971 views

Issues booting VM

I am new to Linux, and have inherited a VM that is running centos. It sat idle for about 2 years with no-one touching it. I have run some updates to get the system up-to-date. I think I accidentally ...
3
votes
1answer
673 views

ufw enable is not working, and it crashes my OS

Where the problems started: First i tried to install fail2ban from the ISPmanager UI, the fail2ban was installed but i got a error related to the package coremanager-pkg-fail2ban, and the fail2ban ...
1
vote
2answers
34 views

How to check: variable of function is it path to a folder or file on a remote server?

I need to use rsync or scp for copy file or file folder from remote server to computer. To copy (synchronize) a file folder I use the following function: foldertocomp() { rsync -avz pi@192.168.1....
0
votes
1answer
33 views

Adding a bridge on top of a bonded interface that have multiple ip?

I have a server that has three static IP addresses. I'd like to add a bridge to these settings. I tried to add the bridge this way but it doesn't seem to be working. auto bond0 iface bond0 inet ...
1
vote
0answers
326 views

Configure NGINX by passing CLI parameters instead of config file

I am looking for a way to change some config parameters dynamically before running NGINX. Perfectly by using command line parameters. I want to write a bash script that takes for example two ...
2
votes
1answer
200 views

Check which workstations a Windows domain user is logged into [duplicate]

I'm trying to find out on what workstation the user is loged in at the time. I haven't found a way yet. Is this even possible? I have a username and want to get his current workstation. I have ...

1
2 3 4 5
31