## ESXi esxcli Error: Unknown command or namespace vm process kill –t=soft –w=67909

I’m running ESXi 6.5 embedded host client. When i ssh into the system I can run `esxcli vm process list` and get the expected output:

``````testserver1
World ID: 67909
Process ID: 0
VMX Cartel ID: 67908
UUID: someuuid
Display Name: testserver1
Config File: /vmfs/volumes/somelocation/testserver1/testserver1.vmx
``````

But if i run `esxcli vm process kill –t=soft –w=67909` I get the error `Error: Unknown command or namespace vm process kill –t=soft –w=67909`

To confirm i’m running the correct command, i ran `esxcli vm process kill -help` and get

``````Error: Invalid option -h

Usage: esxcli vm process kill (cmd options)

Description:
kill                  Used to forcibly kill Virtual Machines that are stuck and not responding to normal stop operations.

Cmd options:
-t|--type=<str>       The type of kill operation to attempt. There are three types of VM kills that can be attempted:   (soft, hard, force). Users should always
attempt 'soft' kills first, which will give the VMX process a chance to shutdown cleanly (like kill or kill -SIGTERM). If that does not work
move to 'hard' kills which will shutdown the process immediately (like kill -9 or kill -SIGKILL). 'force' should be used as a last resort
attempt to kill the VM. If all three fail then a reboot is required. (required)
-w|--world-id=<long>  The World ID of the Virtual Machine to kill. This can be obtained from the 'vm process list' command (required)
``````

Can you see anything i’m doing wrong that might be preventing this command from working?
I realize there’s `vim-cmd` alternative in docs but i’m trying to figure out why the first option from the docs is responding like it’s not even a valid command.

## How to set the default command, with options, to open a file on MacOS?

How to set the default command, with options, to open a file on MacOS? – Ask Different

## command line – How to rename many files, using a prefix ID?

I have 103 directories, those directories are named PJA_XXX, where XXX is number from 71 to 174. Inside each PJA_XXX folder I have a File under the next path: PJA_XXX/results/variants/variants.vcf

I want to rename the variants.vcf file adding the prefix of the PJA_XXX directory that contain it. So the expected result would be PJA_XXX_variants.vcf

I think I could do it with a shell loop, but I don’t know how to take the name of the PJA_XXX folder to rename the file

## SQLite command line shell stuck on …> , CTRL+D not working

When I enter false commands, like the first two you can see, I get the correct error messages. But when I enter a syntax error: (“Steve, 87654) for example, it’s stuck on …> waiting for more input.
After searching on the internet, users suggested the solution “CTRL+D”, but it doesn’t work for me. CTRL+C however just exits sqlite3.

My question: How do I get out of …> to continue with my commands? Why CTRL+D doesn’t work for me, to get out of the …> because of the syntax error or other possible causes? How do I fix my problem?

``````C:UsersmyUser>sqlite3 test.db
SQLite version 3.35.4 2021-04-02 15:20:15
Enter ".help" for usage hints.
sqlite> SELECT * FROM contacts;
Tim|654321|tim@email.com
Brian|1234|brian@mygmail.com
sqlite> INSERT INTO contacts VALUES("Steve", 87654);
Error: table contacts has 3 columns but 2 values were supplied
sqlite> INSERT INTO contacts VALUES(Steve, 87654);
Error: no such column: Steve
sqlite> INSERT INTO contacts VALUES("Steve, 87654);  // Intentional for demonstration //
...> ^D  // Entered CTRL+D //
...> ;
...>     // Entered CTRL+C //
Error: unrecognized token: ""Steve, 87654)"

C:UsersmyUser>
``````

## json rpc – What does the sixth line in the output of the Bitcoin Core GUI RPC command “gettxoutsetinfo” mean?

An example of the output of this RPC command is as follows.

`````` 1  "height":n,     (numeric) The current block height (index)
2  "bestblock": "hex",   (string) The hash of the block at the tip of the chain
3  "transactions": n,      (numeric) The number of transactions with unspent outputs
4  "txouts": n,            (numeric) The number of unspent transaction outputs
5  "bogosize": n,          (numeric) A meaningless metric for UTXO set size
6  "hash_serialized_2": "hash", (string) The serialized hash
7  "disk_size": n,         (numeric) The estimated size of the chainstate on disk
8  "total_amount": x.xxx          (numeric) The total amount
}
``````

What’s the meaning of the sixth line “hash_serialized_2”? Whose hash is this referring to?

## plotting – Uniform Color distribution with the command Show[]

I have the following definitions:

``````a=Sqrt(2 + 2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)));

a3=Sqrt(5 + 4 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)));

beta = 2 a1^2 + 2 a2^2 + 2 a3^2 + 2 a1^2 a2^2 + 2 a1^2 a3^2 +
2 a2^2 a3^2 - a1^4 - a2^4 - a3^4 - Sqrt(((a + a + a3)^2 - 1)*((a - a + a3)^2 -
1)*((a + a - a3)^2 - 1)*((a - a - a3)^2 - 1)) - 1;
``````

then, I define the plots `A` and `B` as follows:

``````A = Plot3D({1/2 Log((beta/(8 a^2)))}, {r, -1.0, 1.0}, {(Theta),
0.01 (Pi), 1.99 (Pi)},
RegionFunction ->
Function({r, (Theta)},
0 < Sqrt(
2 + 2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r))) -
1/Sqrt(2) ((Sqrt)(((-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))^2 +
2 (7 + 6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r))
Sqrt(Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r))) +
Abs(-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) +
Cos(2 (Theta)) Sinh(2 r))) (Sqrt)((-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))^2 +
8 (7 + 6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r))
Sqrt(Cosh(2 r) +
Cos(2 (Theta)) Sinh(2 r)))))/(7 +
6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))))),
PerformanceGoal -> "Quality", AxesLabel -> Automatic,
PlotRange -> All, PlotPoints -> 30, Mesh -> 5, MaxRecursion -> 7,
ColorFunction -> "TemperatureMap");
(*-------------------------------------------*)

B=Plot3D({1/2 Log(((a^2 - a3^2)/(a^2 - 1))^2)}, {r, -1.0,
1.0}, {(Theta), 0.01 (Pi), 1.99 (Pi)},
PerformanceGoal -> "Quality", AxesLabel -> Automatic,
RegionFunction ->
Function({r, (Theta)},
0 >= Sqrt(
2 + 2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r))) -
1/Sqrt(2) ((Sqrt)(((-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))^2 +
2 (7 + 6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r))) +
Abs(-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) +
Cos(2 (Theta)) Sinh(2 r))) (Sqrt)((-3 -
2 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))^2 +
8 (7 + 6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r))
Sqrt(Cosh(2 r) +
Cos(2 (Theta)) Sinh(2 r)))))/(7 +
6 Sqrt(Cosh(2 r) - Cos(2 (Theta)) Sinh(2 r)) Sqrt(
Cosh(2 r) + Cos(2 (Theta)) Sinh(2 r)))))),
PlotRange -> All, PlotPoints -> 30, Mesh -> 5, MaxRecursion -> 8,
ColorFunction -> "TemperatureMap");
``````

then, by the command `Show()` I join the two plots obtaining

Therefore, both 3Dplots match, as I expected; however, I have the question:

(1) There is a way to show a uniform color distribution for both plots by using the comand `Show()`?

that is, each plot appears with its own color distribution when I display both with `Show()`. This is logical since I define separately each function. On the other hand, it must be noted that the region function for plot `A` is of the form: `RegionFunction -> Function({r, (Theta)}, 0 <f)` and for `B` is `RegionFunction -> Function({r, (Theta)}, 0 >=f)` being `f` the function of $$r$$ and $$theta$$ displayed in the code, which could help to define a conditional to display a single plot without the need to use `Show()`.

## Container is not listed with prlctl command

I live migrated a container from an openvz node to another.

On the new node, it lists with vzctl command, but not with prlctl list comman… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1843038&goto=newpost

## bash – How to supply both passphrase and string to encrypt to GnuPG using command line?

Considering using `echo -n "passphrase" | gpg --batch --passphrase-fd 0 ...` inside of Bash script (which should mitigate leaking passphrase to process list given `echo` is a built-in command, right?).

I need to know passphrase to create shares of it using Shamir Secret Sharing later in the script.

How can I supply string to encrypt to GnuPG? I usually use `stdin` for that.

Edit: following script appears to achieve what I want, but is it secure*?

*Passphrase and string are not leaked to other users nor written to file system and passphrase is cleared from memory once script exits.

All feedback is welcomed as I might be naively considering an insecure approach.

``````#! /bin/bash

printf "%sn" "Please type passphrase and press enter "

echo -n "bar" | gpg --batch --passphrase-fd 3 --s2k-mode 3 --s2k-count 65011712 --s2k-digest-algo sha512 --cipher-algo AES256 --symmetric --armor 3<<<"\$passphrase"
``````

According to `ps ax`, above script doesn’t leak passphrase to other users.

## Speech is not absolutely necessary.

Because it isn’t constrained by an accompanying adjective or adverb like “verbal” or “verbally,” the noun or verb “command” has the flexibility to be interpreted appropriately depending on the specifics of the situation.

For example, any number of possibilities might grant the druid telepathy, such as Rary’s Telepathic Bond, the Telepathic feat, the ghostwise halfling’s Silent Speech, or the kalashtar’s Mind Link. Because the Wildfire Spirit is defined as a creature, it’s a valid target for these telepathies. Issuing a verbal command would not be necessary; a telepathic one that can be understood by the spirit would be sufficient.

Interestingly, the Primal Companion (offered in TCoE as an alternative to the PHB’s much-maligned Ranger’s Companion) removes any mention of speech. It says only that you may “use a bonus action on your turn to command (your companion) to take another action.”

## The Wildfire Spirit’s literacy and ability to interpret gestures will depend on its attention span and training.

The Wildfire Spirit has an Intelligence of 13 — matching the drow priestess of Lolth, githyanki warrior, and githzerai monk — and it’s not blind, so it certainly is able to learn how to read and how to interpret gestures.

This Intelligence is significantly higher than those of the beast familiars from the Find Familiar spell, which are between 1 and 3. It’s more on par with those of the Pact of the Chain Warlock’s familiar’s special forms, which are between 7 (quasit) and 14 (sprite).

It would be up to the player and GM to determine, based on this particular Wildfire Spirit’s temperament and history, if it would already have learned either reading or gestural commands. If it hasn’t, the druid might try to teach the spirit in any free time they have during the hour-long periods when it manifests.

## Gestures probably make more sense than passing notes.

Nothing in the description of the Wildfire Spirit says that it can or will set objects ablaze. However, some GMs may decide that parchment or other highly flammable objects will not survive its proximity unscathed. For this reason, you may need to use a nonstandard (non-flammable) substrate when writing messages for it, and you may be risking a conflagration if you ask it to stealthily read someone else’s correspondence.

However, it does make sense to want to be able to communicate in a noisy environment or when deafened. If telepathy isn’t available to you, establishing a shorthand sign language with your spirit (with the effectiveness of such training adjudicated by your GM) could be an excellent investment of your time.

## raspberry pi – Opening Minecraft Server Command Line on already running server

I’ve setup a Minecraft Server on a raspberry pi that automatically starts when the pi boots. If I remote into the pi to execute server commands, there won’t be a Minecraft server console for me to do so. The pi doesn’t have a desktop environment so there’s no way I can use a shortcut or remote desktop. How do I open the Minecraft server console via the command line for a server that is already running?