Skip to content

The-Order-of-Penguins/AwsTerm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome utilities on macOS and Linux Terminal

Maintenance GitHub last commit (branch) PRs Welcome Open Source Love svg3 ForTheBadge built-with-love GPLv3 license

installing necessary packages

  1. clone the repository:

    sudo apt-get install git
    git clone https://github.com/Geektrovert/AwsTerm.git
    cd AwsTerm
    
    # for macOS
    sudo chmod +x mac.sh
    ./mac.sh
    
    # for arch and arch linux based distros
    sudo chmod +x arch.sh
    ./arch.sh
    
    # for ubuntu alike debian based distros
    sudo chmod +x deb.sh
    ./deb.sh
    
    # for RHEL/Fedora User
    sudo chmod +x fedora.sh
    ./fedora.sh
    
    cd ..
    rm -rf AwsTerm

This shell file installs the following packages:

Updating and cleaning everything

# for macOS
brew update && brew upgrade && brew cleanup

# for arch linux
sudo pacman -Syyu

# for ubuntu
sudo apt-get update
sudo apt-get upgrade

# for Fedora
sudo dnf update

Useful commandline utilities

  1. Listing brew packages:

    • brew list - list all packages
    • brew cask list - list packages installed using caskroom
    • brew leaves - list all top-level packages
    • brew deps --tree --installed - list all packages with a nicely formatted dependency tree
  2. Viewing config of homebrew: brew config

  3. bat filename - 'bat' is a modern replacement of 'cat' which shows a source file on console with full syntax highlighting

    bat

  4. Alternative to 'ls' :

    • exa - list all files
    • exa -la - list all files including hidden files
    • exa -laT - list all files under current directory in a tree format

    exa

  5. Find any directory : fd search_keyword

    fd

  6. Advanve grep: rg (ripgrep) for finding strings among the files under current directory (SSSHHHH, don't tell anyone, this is lighting fast!!!)

    rg 'string to search'

    rg

  7. Viewing a HEX file : hexyl filename - it shows the file in three columns in format: byte | hex | representation

    hex

  8. HTTPie : a modern replacement of curl. It uses the following format :

    http POST link key=value

    httpie

  9. pstree command shows the running processes as a tree

    pstree

  10. htop is an interactive process viewer run by the command htop

    htop

  11. tig for interactively browsing git repositories

    tig

  12. You should give some fuck to your typos. So here it is, the legendary NSFW command fuck

    fuck

  13. neofetch command shows the system details

    neofetch

  14. nnn is a full-featured terminal file manager.It's tiny,extremely light and fast.

    nnn

  15. aria2 is an open source and free lightweight multi-protocol & multi-server command-line download utility.

    aria2

  16. mc gnu midnight commander is a feature rich visual file manager.

    mc

  17. mtr is a simple command-line network diagnostic tool.

    mtr

  18. pydf is an advanced command line tool to display the amount of used and available disk space.

    pydf

  19. lftp is a sophisticated file transfer program supporting a number of network protocols (ftp,http,sftp,fish,torrent).

    lftp

Love OpenSource

If this article is helpful to you, or you love this, just hit the star button :D

References

This writing was hugely inspired from the blog posts of Darren Burns

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%