Code Monkey home page Code Monkey logo

scripts-and-one-liners's Introduction

Basic Linux Scripts Along with one liners

One liners are in the one_liners.md file

Scripts to do those basic tasks that are quite tedious... Keep these scripts in a custom bin folder and add this folder to $PATH

How to add this folder?
echo "export PATH="$PATH:/path/to/your/scripts" >> ~/.profile

So here's how we write a script :

#!/bin/bash
#Enter your bash commands, lines preceeded with a '#' are comments.

Scripts :

  • dpkg_lock: For the dpkg frontend lock error. Just run the script, but be cautious. Run it only if error is thrown.
  • update: For full system update and upgrade. Just run, if dpkg lock error comes up, use the above script and then run.
  • bitlocker: For decrypting and mounting devices. If dislocker is not installed, then run "apt install dislocker".
  • draw: Used to run draw.io as root
  • idea: Script generated by JetBrains
  • minecraft: Run minecraft using TLauncher
  • notebook: Run jupyter as root
  • vlc_root: Allow VLC media player to run as root
  • vpn: Custom OpenVPN config
  • space: Display space usage
  • pdf: A custom script that calls evince and disowns
  • buttons: Remove/Reset title window buttons in GNOME

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.