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

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 methods. Yet, when running PS and CMD as an…
0
votes
1 answer

Rename an account from XP command prompt

How can I rename a local user account from the XP command prompt? Is there a NET.EXE personality that I've missed? (I also didn't see anything under Useful Commandline Commands on Windows.) Thanks.
0
votes
1 answer

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, if the first machine breaks or something else…
Kostadin Krushkov
  • 145
  • 1
  • 3
  • 8
0
votes
1 answer

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. And it gets really annoying having to copy files,…
user548851
0
votes
0 answers

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 userA. I know this can be done using this net user…
0
votes
1 answer

Basic setup of an Aerohive AP245X via CLI

I recently acquired an Aerohive AP secondhand without a GUI. I reset it by pressing the button for however long. Now I want to set it up as a normal WiFi AP w/o any fancy Hive stuff. Just one SSID with the most bandwidth and range. I couldn't…
jkoop
  • 31
  • 7
0
votes
3 answers

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 output and error files. first it lists the…
0
votes
0 answers

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 -vvv option: $ ssh -i key.pem -vvv ubuntu@[IP…
0
votes
3 answers

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='Initials' Set-ADUser -Identity $($user.SID) -Clear…
user5525652
  • 157
  • 1
  • 4
  • 14
0
votes
0 answers

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 information when a person logs in to a folder on the domain…
0
votes
1 answer

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,rename,mv etc.. How do I remove this
Sujeesh
  • 3
  • 1
-1
votes
2 answers

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 7.7G 0% /dev/shm tmpfs 7.7G 26M …
-1
votes
1 answer

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 free) similar to TeamViewer that allows command…
Jim McKeeth
  • 1,906
  • 4
  • 20
  • 21
-1
votes
1 answer

How can we scan our range of ports efficiently?

I am trying to create a script that will check if my firewall works correctly. For that I need a command that checks our range.
Fabien
  • 129
  • 2
-1
votes
1 answer

setting umask for a directory so that all directories, executable file(.sh , .cmd, .bat) are 750 and regular file 640

need to create and change existing file and directory such that all directories and executable files(*.sh, *.bat, *.cmd ..) are 750 and regular file are 640 . I need to this in shell and python both. I like to set umask to 027 while default is 022…
1 2 3
99
100