Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
nixCraft 馃惂
@nixCraft@mastodon.social  路  activity timestamp 2 hours ago

Run the following to see your PATH settings in easy to read format on screen:
```
tr ":" "\n" <<<"$PATH"
tr ":" "\n" <<<"$PATH" | lolcat
```
This is a little more portable
```
echo "$PATH" | tr ":" "\n"
echo "$PATH" | tr ":" "\n" | lolcat
```

#unix #linux

a screenshot showing output of the `tr ":" "\n" <<<"$PATH" | lolcat` command to see your system's PATH environment variable in a readable and colorful format using lolcat command.  This command will print your system's search paths using the `$PATH`, lists them one per line, and makes them look pretty just for fun. You can skip the `lolcat` bit if you don't want colors.
a screenshot showing output of the `tr ":" "\n" <<<"$PATH" | lolcat` command to see your system's PATH environment variable in a readable and colorful format using lolcat command. This command will print your system's search paths using the `$PATH`, lists them one per line, and makes them look pretty just for fun. You can skip the `lolcat` bit if you don't want colors.
a screenshot showing output of the `tr ":" "\n" <<<"$PATH" | lolcat` command to see your system's PATH environment variable in a readable and colorful format using lolcat command. This command will print your system's search paths using the `$PATH`, lists them one per line, and makes them look pretty just for fun. You can skip the `lolcat` bit if you don't want colors.
4
  • Copy link
  • Flag this post
  • Block
hnapel
@hnapel@mastodon.social replied  路  activity timestamp 30 minutes ago

@nixCraft

'lolcat' needs 18 dependencies with a total size of 46,2 MB , lol no thanks.

  • Copy link
  • Flag this comment
  • Block
Akkana Peck
@akkana@fosstodon.org replied  路  activity timestamp 2 hours ago

@nixCraft Nice tr command, thanks!

But you might want to remove the extra 'o' from 'lolocat'. (Debian, at least, doesn't have a lolocat; I haven't tried installing lolcat because I don't know what it does and it has a bunch of ruby dependencies.)

1
  • Copy link
  • Flag this comment
  • Block
nixCraft 馃惂
@nixCraft@mastodon.social replied  路  activity timestamp 1 hour ago

@akkana fixed it. it was a typo on my part.

  • Copy link
  • Flag this comment
  • Block
gab
@gabegie@h4.io replied  路  activity timestamp 2 hours ago

@nixCraft

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
Viss
@Viss@mastodon.social replied  路  activity timestamp 2 hours ago

@nixCraft pipe together toilet and lolcat

  • Copy link
  • Flag this comment
  • Block
Log in

Gnar 馃敟 social

This is a Bonfire Federated social instance for those that enjoy gnarly adventures. Whether it's shredding mountains or slaying guitars, from action sports to art.

Gnar 馃敟 social: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Gnar;馃敟 social 路 1.0.0-rc.3.6 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login