Giter Club home page Giter Club logo

theconfig's Introduction

theconfig

shell script containing semi-useful commands as well as a collection of python scripts. In addition, a collection of aliases located in the data directory can extend the functionality of this tool.

$HOME/bin/ is where i keep all of my binaries, its usually on the path by default
needs to be executable and on your path. for easy install run (as non root user):

mkdir ~/bin/
mkdir ~/tmp/
cd ~/tmp/
git clone https://github.com/rexlx/theconfig.git
mv theconfig/bin/* ~/bin/
chmod +x ~/bin/theconfig
vi ~/.bashrc
# at the very bottom of the file add the following line
source ~/bin/theconfig
# press esc then type :wq <enter> to write and quit
rm -rf ~/tmp/
. ~/.bashrc
(to confirm install run)
viconfig
# press esc then type :wq <enter> to write and quit



list of commands it gives you:

viconfig        edit config file
up              get uptime
border          create border around a string
center          center a string and fill in whitespace
dstamp          date stamp 11/02/2017 08:07:04 AM
fstamp          format for files 2022-04-05_07-14
ustamp          unique stamp 1509628041
grip            grep for IP's
grip-2          grip + only show IP
dns             get the IP of the dns youre using
showport        show firewalld status
model           get machine model
virt            see if machine is bare metal or not
normalize       install some common packages
clear-ram       clear ram and cache (must be root)
sysinf          get the system info of the local machine
get-sysinf      get the system ifo of a remote machine
mark-user       turns the prompt red to warrant caution
top-mem         ten most memory intensive procs
show-writes     show amount of reads / writes since booted.
keep-alive      keep current terminal alive
convert-size    converts bytes to human readable
watch-access    tail httpd access logs
foreach         simple foreach boiler plate ($ foreach ls)
isword          spell checker when on headless system
top-ten         show ten most expensive cpu processes
convert-time    unix time -> date time
convert-date    date time -> unix time
add-comma       add commas to large numbers
describe        pandas describe a csv ($ describe file.csv)

theconfig's People

Contributors

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