cmd.exe – Command prompt Echo with Plink

good day, I tried to use the format below for my plink and when I went to login with the username I changed the password on it didn’t accept the new password. so my question is, when using “(echo.password1 & echo.password1)” what is it sending? Is it sending “password1” as the new password or is it “password1 “?

Below is the block code i used, changing my username and password


(echo.mypassword & echo.password1 & echo.password1) | plink -ssh -batch myusername@ -pw mypassword "sudo passwd admin"


here is the output. NOTE on the user usroob, i have sudo setup so I don’t need to put in my password.

C:UsersThomas Bonar>(echo.password1 & echo.password1) | plink -ssh -batch usroob@ -pw mypassword "sudo passwd admin"
New password: Retype new password: passwd: password updated successfully 
C:UsersThomas Bonar>plink -ssh admin@ -pw password1 
Using username "admin". 
Access denied
admin@'s password:

Can’t boot to Windows, stuck on Grub BASH-like command line

I have installed Grub in Windows through bootcamp on a MacBook, to dual boot ChromeOS and windows .
However after repairing the hard disk in MacOS disk utility grub shows the command prompt interface and refuses get into the GRUB boot menu

It shows

minimal BASH-like editing is supported.for the first word, TAB lists
possible commands completions.anywhere else TAB lists the possible device or file completion.

When I type exit I get

grub> error exit command not found

Pressing Esc only starts a new line, while choosing Windows from MacOS Startup manager will freeze the screen.

This might be useful

grub> ls
(hd0) (hd1) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1) 

How can I boot in to my Windows partition from this stage?

python – What is the current state of the python3 command on windows?

We had some failures from code defaulting to use python3.exe on Windows as the default command for invoking Python 3. The reason is that the default Anaconda installation does not include a python3 command, just python in the form of python.exe. It is tempting to just change the default to use python, which seem like it’s going to work in a lot of cases, and have users with ‘special’ cases deal with it themselves – as opposed to the current situations where the normal case fails.

We want to cover common installation methods of Python 3 on Windows: using the Windows Store, or with Anaconda, or by downloading from As far as I can tell they will all (given the PATH is setup correctly by installer and/or starting the correct prompt) result in python being available as a command (directly via python.exe) for starting Python 3. Is this correct?

Additionally: was there even ever a point in time where Anaconda or the default Python installation actually included python3? I’m starting to think that picking python3.exe as default is actually wrong, perhaps inspired by someone working on a Cygwin commandline. For example I looked at and as far back as v3.0 there seems to be only python.exe in the zip files and the msi files, suggesting the way to go on Windows is actually to use python indeed?

Last but not least: is this properly documented? I searched around and could not find an authorative source, just incomplete and/or conflicting information. E.g. says the Windows Store Package will provide python.exe and python3.exe. However is that package the same as downloading from and/or what the full installer (section 3.1 on that link) does? The embeddable and nuget packages, also on that page, provide only python.exe. How do I alias python3 on Windows? says ‘python3 is not typically an alias on windows’, etc.

dnd 5e – Can the Necromancy wizard’s Command Undead feature be used on the Nightwalker from Mordenkainen’s Tome of Foes?

The School of Necromancy wizard has the Command Undead feature (PHB, p. 119):

Starting at 14th level, you can use magic to bring undead under your
control, even those created by other wizards. As an action, you can
choose one undead that you can see within 60 feet of you. That
creature must make a Charisma saving throw against your wizard spell
save DC. If it succeeds, you can’t use this feature on it again. If it
fails, it becomes friendly to you and obeys your commands until you
use this feature again.

Intelligent undead are harder to control in this way. If the target
has an Intelligence of 8 or higher, it has advantage on the saving
throw. If it fails the saving throw and has an Intelligence of 12 or
higher, it can repeat the saving throw at the end of every hour until
it succeeds and breaks free.

The Nightwalker from Mordenkainen’s Tome of Foes (p. 216) has 8 charisma, 6 intelligence and a CR of 20.

Isn’t it a bit crazy? Outside of simply not putting this thing in the game if you have a necromancy wizard in it, what else can happen (or can the DM do) that is gonna prevent the game from breaking?

8 – Command “generate-votes” is not defined

I’d like to use Drush 10.3.6 to generate votes on my development server.

Based on these instructions for a previous version of drush (8.x) there seems to be some kind of module/extension for this;

drush generate-votes

However when I try this it doesn’t seem to work for me;

root@e63cb10b8a1b:/opt/drupal# drush generate-votes

  Command "generate-votes" is not defined.

Has this feature been removed or deprecated? Is there any other way I can generate votes from the command line?

xamarin.forms – ImageButton not firing Command binding in Xamarin Forms

I have an ImageButton that is not firing Command binding command using VMMV architecture. First all other bindings are working properly in the view.

Here is button:

<ImageButton Command="{Binding SelectedItemCommand}" Source="{Binding Logo}" Grid.Row="0" Grid.Column="1" HeightRequest="150" WidthRequest="150" HorizontalOptions="CenterAndExpand" VerticalOptions="EndAndExpand"></ImageButton>

and in ViewModel:

public ICommand SelectedItemCommand => new Command(GetSelectedItem);

When I click the image nothing happens. I’ve even tried to bind to Pressed parameter but from everything I have read only the Command parameter should be used in a binding scenario. Putting a breakpoint on the function GetSelectedItem never gets reached.

What am I doing wrong here?


SQL Persist command is giving an Error in IBM Watson studio Jupyter Notebook

I am tryin to run a SQL magic command in IBM Watson studio and i am receiving below error. Need support to resolve error. Image is attached. SQL Persist Command Errored.

I am new to Watson Studio and unable to resolve it.

Console history single command length limit

I’ve come to notice, that long multi line commands are not logged to the ConsoleHost_history.txt in PowerShell 7 (unlike in PowerShell 5). How can I change this?

command line – Differences between Window Restart Options?

What command does Windows 10 use when selecting “Restart” from GUI menu?

Is it the same as the command shutdown /r ?

Windows Help File gives this description:

/r    Full shutdown and restart the computer

In this case, what does “Full Shutdown” actually mean?

Is this the same as shutting down and then hitting the button to boot back up or is this really just a restart?

I can’t find any commands for a restart without full shut down.

I also found PowerShell command:

Restart-Computer -ComputerName REMOTE_COMPUTER_NAME -Force

command line – Check if an app can read certain folders

AFAIK MacOS restricts newly installed apps from reading many folders without user permission. I know these permission are listed under System Preferences->Privacy->Files and Folders

But, is there a way I can verify these permissions are actually enforced? Like can I open a shell with the same permissions as a specific app? Kind of like su - nameofapp?

I ask because I just installed the Amazon Kindle App from the MacOS App Store. I looked in ~/Library/Containers/ and see this

❯ pwd
❯ ls -l
total 0
lrwxr-xr-x   1 gregg  staff    19 Jan  7 21:01 Desktop -> ../../../../Desktop
drwx------   2 gregg  staff    64 Jan  7 21:01 Documents
lrwxr-xr-x   1 gregg  staff    21 Jan  7 21:01 Downloads -> ../../../../Downloads
drwx------  33 gregg  staff  1056 Jan  7 21:19 Library
lrwxr-xr-x   1 gregg  staff    18 Jan  7 21:01 Movies -> ../../../../Movies
lrwxr-xr-x   1 gregg  staff    17 Jan  7 21:01 Music -> ../../../../Music
lrwxr-xr-x   1 gregg  staff    20 Jan  7 21:01 Pictures -> ../../../../Pictures
drwx------   2 gregg  staff    64 Jan  7 21:01 SystemData
drwx------   2 gregg  staff    64 Jan  7 21:01 tmp

Apparently the app has made links to a bunch of folders. How can I know if the app is actually prevented from accessing those folders via the links? I have not given the app any permissions and would just like to verify that these links are not away around the permissions.