Code Monkey home page Code Monkey logo

spellcmds's Introduction

Magical Commands for BASH (MCB)

Linux terminal commands replaced with harry potter spells

To use new commands in every terminal and in different terminal sessions type this row into your ~/.bashrc or ~/.zshrc

. PATH_TO_SPELLS_SCRIPT 

For example, if I downloaded this project to my home/ folder, the command to put into bashrc would be:

. /home/spellcmds/.spells.sh 

If you want to run the script in a single terminal session you just have to go to the location where you've downloaded the project and run

. PATH_TO_PROJECT/.spells.sh

The same way like above one, if I downloaded the project to my home/ folder, I have to type:

. /home/spellcmds/.spells.sh

or

. ~/spellcmds/.spells.sh

You can use source command as well so:

source ~/spellcmds/.spells.sh 
  1. To xkill process:
avadakedavra
  1. To clear screen:
obliviate
  1. To change directories:
apparate $1
  1. To exit terminal:
nox
  1. To copy files:
horcrux $1 $2
  1. To list files:
lumos
  1. To view a single file:
revelio $1
  1. To freeze a process:
immobulus $1
  1. Create directory
accio $1
  1. Move file
wingardium_leviosa $1 $2
  1. To add universal file access:
alohomora $1
  1. To tail a file:
telehanda $1
  1. To go up one level of the directory tree:
ascendio
  1. Sleep terminal
stupefy $1
  1. To jump home:
portus
  1. To delete a file:
confringo $1
  1. To hide a file:
evanesco $1
  1. To open a file:
aberto $1
  1. To use sudo in a command:
fideliuscharm $1
  1. To fix broken dependencies:
reparo

spellcmds's People

Contributors

anayaml avatar canyuva avatar championballer avatar clifflare avatar ecapson avatar hmrserver avatar jkling38 avatar m42e avatar nikhil-prabhu avatar ritceynoah avatar schlenges avatar thomas0306 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.