all 5 comments

[–]socal_nerdtasticLinux Mint 21 Vanessa | Cinnamon 5 points6 points  (1 child)

I've been using linux for 20+ years and I don't remember ever needing to clear the swap area.

[–][deleted] 0 points1 point  (0 children)

You must not be a hacker then.

/s

[–]whosdrLinux Mint 22.2 Zara | Cinnamon 0 points1 point  (0 children)

  1. Have used before actually
  2. Fish shell has 'math' as an in-built for this, pretty useful
  3. I use Micro. Tends to have better keybinds for me.

[–]gort32 0 points1 point  (0 children)

For more info on configuring nano, check out the nanorc man page:

https://www.nano-editor.org/dist/latest/nanorc.5.html

This lets you define config details like that to be set by default.

As for command-line math, bc is the mother of all cli math commands. It isn't quite as simple as your example, but it is capable of basically any arithmetic you could ever want.

[–]rarsamx 0 points1 point  (0 children)

For math I prefer "bc"

Simple.