Bash

714 readers
7 users here now

Talk about the Bash Shell and Bash scripting

founded 4 years ago
MODERATORS
26
 
 

HI,

I don't use bar and status, only WM and some apps, so I use PS1 for see clock and battery status, clock change each time I enter a new prompt line but status battery change only with new shell

example :

PS1="$(cat /sys/class/power_supply/BAT0/capacity)% \A"

thanks

27
3
submitted 3 years ago* (last edited 3 years ago) by [email protected] to c/[email protected]
 
 

linux terminal

28
9
submitted 3 years ago* (last edited 3 years ago) by [email protected] to c/[email protected]
 
 

"We want to document one-liners for frequent (non-trivial) tasks executed in the shell"

29
 
 

linux shell manpage help

30
1
submitted 4 years ago* (last edited 4 years ago) by [email protected] to c/[email protected]
 
 

I wasn't easily able to find a command line study timer so I made one.

I'm not a great programmer so I was wondering if I could get some feedback. Cheers!

31
 
 

A Static Site Generator Made by Taminaru in Bash!

The current features are:

  • Creating and editing posts in Markdown.

  • Using templates, variables.

  • Configuration, both local and universal (explained in README)

It's around 80% complete, so any contribution is appreciated (i would help if i wasn't lazy af lul).

Anyway here's the source code: https://codeberg.org/taminaru/BSG