Coder Social home page Coder Social logo

fincer / archtools Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 276 KB

Useful CLI tools (bash) for Arch Linux administration

License: GNU General Public License v3.0

Shell 98.74% C 1.26%
archlinux arch-linux bashrc stderr administration cli bash bash-script shell linux

archtools's Introduction

Arch Linux tools

Various command line tools for Arch Linux

About

This repository has various practical developer/sysadmin-oriented tools for Arch Linux.


Contents

  • bash.bashrc

    • Drop into /etc/ system folder
    • Use with bash.custom file
  • bash.custom

    • Drop into /etc/ system folder or install using PKGBUILD
    • Enable various customizations in your bash environment
    • Improve usability and visual feedback of bash shell

Various shell tools, bundled in a custom archtools package. See PKGBUILD and contents of shell tools for details.

Tool Description
archrisks Get security risk severity & count of installed packages on Arch Linux
bininfo Show information about an executable in PATH on Arch Linux
buildpkg Build a local package on the current directory which has PKGBUILD on Arch Linux
deltmpfiles Delete current temporary files from pre-defined locations
dummypkg Create a dummy Arch Linux package
extract Extract wide range of various archive types with native tools
findinpkg Find text patterns & print occurences with matching lines numbers in Arch Linux package files
findmatch Grep/List matching strings in a specific folder
findpkg Search package in official Arch Linux repositories
genmac Generate a random MAC address for a Systemd-configured network interface
getsource Get build files from official Arch Linux repositories and AUR repositories
killns Send signal to a process running in a specific Linux namespace (see man 7 signal)
killprocess Kill a process by its name
missinglibs List missing package libraries for a local, installed Arch Linux package
nowner Find orphan files on various Linux distributions
pkgdeps Recursive shared library & executable dependency finder for Arch Linux
pkginfo Gather package information with pacman on Arch Linux
psns List processes, their users and PIDs and their namespace name in current Linux namespaces
showpkg Show specific package version - installed and available version
specialchars Show special characters which need to be escaped in shell
ssh_timezone Automatically retrieve timezone information for SSH users
tputcolors Display shell colors
whichcmd Find available commands in PATH by input syntax
whichport Which TCP/UDP port number is associated with an application protocol
whichservice Which application protocol is associated with a TCP/UDP port number

DISCLAIMER: These modifications are fully compliant with Pacman version 5.1.3-1. Newer versions have not been tested.

File Description Permissions
/usr/local/bin/makepkg Get sources without security checks; Ask user whether to install missing deps automatically; Prompt whether to enforce package compilation without missing deps; Implement support for --getsource parameter (works with, and requires getsource command) 0755
/usr/local/bin/pacmankeycheck.sh Check age of Pacman PGP/GPG public key ring files and prompt updating them during pacman execution if they are too old (30 days). 0644
/usr/local/bin/pacman A simple wrapper which runs pacmankeycheck.sh and then your original pacman command. 0755
/usr/share/makepkg/source/git.sh Modified makepkg source file; allow use of additional git command parameters. 0644
/usr/share/makepkg/source.sh Modified makepkg source file; use shallow git repository cloning (parameter --depth 1) instead of cloning full git repository when downloading package source code with makepkg. This is useful with large packages when only the most recent files from them are wanted and full git repository cloning mode is not desired. 0644

File paths above represent the intended deployment location on your Arch Linux file system.

PKGBUILD for stderred. As the build script description says, it hooks into STDERR output to print all CLI errors in red".


License

This repository uses GPLv3 license. Please see LICENSE files for details.

archtools's People

Contributors

fincer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

archtools's Issues

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.