Skip to content

npm seems not to be updated after updating

I update npm, it is successfully finished. However, if I ask npm’s version, it still gives the old version: I also tried many other ways to update npm, for all of them it seems to be updated but if I run npm -v I still get the old version. Restarting machine, cleaning cache etc. does not help. If I run

F# on Linux – targeting net4xx

I’ve got both mono (5.10.1.20) and dotnet core (2.1.4) installed on my Linux Mint (18.3) machine. I want to create a project using VS Code Ionide: Ctrl+Shift+P -> F#: New Project -> console. This goes without problems. However, when I try to build it, I get: error MSB3644: The reference assemblies…

Linux tr command not working as expected

I have this password generator: Which works fine as follows: But fails as follows: The tr command is explicitly saying: remove all characters which do not belong to the given set Thus the characters , and . are unexpected. Where do they come from? Answer There’s also another part of tr’s man page …

Pipes in Bash: One at a Time (Line by Line) or All at Once

First, I create 5 files In the following example, xargs seems to get all the results from find via the pipe all at once: In the following example, xargs seems to get all the results from find via the pipe one at a time (line by line): In the following example, xargs seems to get all the results from ‘fi…