linuxspells

0.8.4 • Public • Published

LinuxSpells

npm license npm

Potter-ify your Linux experience!

Some basic Linux commands changed into Harry potter Spells!

How to use

$ sudo npm install linuxspells -g

This will install linuxspells globally on your pc.

Spells.js

$ spells

spellsJS

To get info about any spell, type, for eg- lumos:

$ spells lumos

lumosExample

Spells Explained

The spells used in here are:
* lumos
* obliviate
* geminio
* legilimens
* mobiliarbus
* avada-kedavra
* accio

Lumos

Lumos is the incantation to a charm that can be used to produce a flash of bright white light from the tip of the wand. This light can be thrown far off of the wand, illuminating the surrounding area for several minutes after its initial casting before darkening once more.

Lumos shows the path in wizard world and so does the 'ls' command in linux world, 'ls' does directory listing.

So typing 'lumos' into terminal will display the files and folders in the current working directory.

Usage : $ lumos

Cheers!

Geminio

The Geminio Curse or Doubling Charm(Geminio) is a spell used to duplicate an object. It can also be used to bewitch an object into multiplying repeatedly when touched, though how one would produce the latter effect is still unknown.

It duplicates objects, creating copiesof it and so does the 'cp' command in linux terminal, It copies files/directories in linux terminal.

Usage : $ geminio /path/to/source /path/to/destination

Cheers!

Obliviate

Originating from Harry Potter and the Chamber of Secrets, Obliviate is a term meaning 'forget'. Obliviate is a memory charm, resulting in the erasure of the recipients memory. One's memory vanishes as soon as this charm is casted.

It makes one forgetful of things or memories and so does the 'clear' command in linux terminal, It clears the output screen or 'obliviates' it :P

Usage : $ obliviate

Cheers!

usage

Legilimens

Legilemency or legilimens is the act of magically navigating through many layers of a person's mind and correctly interpreting one's findings. Muggles often call this as 'mind-reading'.

It reads what is beneath the flesh of the person in wizard world, and somewhat 'cat' does the same in linux world. It reads the contents hidden beneath the flesh of a file :P

Usage : $ legilimens filename

Cheers!

Mobiliarbus

Mobiliarbus is the incantation to a charm used to levitate and move plants and trees, as well as the materials made of wood. The Latin term mobilis, meaning "movable" , and arbor means "tree".

It moves objects from one place to another, and so does the 'mv' command in linux world. It moves files and directories from one place to another.

Usage : $ mobiliarbus /path/to/source /path/to/destination

Cheers!

Avada-Kedavra

The Killing Curse (Avada Kedavra) is a tool of the Dark Arts and one of the three Unforgivable Curses. It is one of the most powerful and sinister spells known to wizardkind. When cast successfully on a living person or creature the curse causes instantaneous and painless death, without any signs of violence on body.

It 'deletes' the person or creature from the living world, poof! And so does the 'rm' command in linux world. 'rm' causes painless death of files and folders :P

Usage : $ avada-kedavra filename

Cheers!

usage

Accio

The Summoning Charm (Accio) was a charm that caused a target at a distance from the caster to levitate or fly over to them. This spell needs thought behind it, the object must be clear in the casters mind, before trying to summon.

This spell is one of the oldest spells known to wizarding society.

Accio 'gets' the object and so does 'wget' in the linux world.

Usage : $ accio LINK

Cheers!

License

This Package is licensed under MIT License.

Author

gabru-md

Type : $ spells SPELL_NAME to get information regarding any spell. Cheers!

/linuxspells/

    Package Sidebar

    Install

    npm i linuxspells

    Weekly Downloads

    3

    Version

    0.8.4

    License

    MIT

    Last publish

    Collaborators

    • gabru-md