Giter VIP home page Giter VIP logo

killer.bash's Introduction

killer.bash

Script to do the function of pkill in Mac OS X 10.6 and 10.7.

Infos

  • Made in OS : Mac OS X 10.6 (a.k.a Snow Leopard)
  • Tested in OS : Mac OS X 10.6, Mac OS X 10.7, Ubuntu 10.04 LTS, Ubuntu 12.04 LTS
  • Language Used : Shell Script (Bash)
  • Dependencies : ps, grep, awk, kill
  • License : BSD 3-Clause License

Motivation

The motivation it's simple, I just want kill processes by name in Mac OS X 10.6. The 10.6 and 10.7 version doesn't come with pkill, so you need use homebrew, mac ports or others. Then I saw a way to not need use this methods, purely in shell script.

How To

Run First

Please run first verify.bash to see the compatibility of your system with killer.bash.

Using the killer.bash

Put the killer.bash on the /opt or on the folder you choose. Edit your ~/.bash_profile or if doesn't exists just create it.

Editing ~/.bash_profile

Just put the bottom line in your ~/.bash_profile and killer.bash is ready for use.

source /opt/killer.bash

Now how to use

killer.bash it's simple to use. Just say the name of the process and be happy.

$ pkill TextEdit

killer.bash's People

Contributors

fadamiao avatar

Stargazers

 avatar  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.