Skip to content
jansipke.nl

jansipke.nl

Photography, programming, puzzles and more…

Menu

Bash

Bash prompt with kubernetes context and git branch

The bash prompt can be adjusted to ones needs, see this manual page. For example, you can display the current user, directory and time. The Ubuntu default prompt looks like this: PS1=’${debian_chroot:+($debian_chroot)}[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ‘ It is also possible to add the

jansipke 2020-11-062021-09-12 Programming No Comments Read more

Test TCP connection without telnet or nc

Sometimes you need to test if a network connection works without actually using the intended client program. Normally you would use a tool like telnet or nc to do this, e.g. $ telnet www.google.com 80 Trying 172.217.20.68… Connected to www.google.com.

jansipke 2017-06-122021-09-12 Networking 9 Comments Read more




You can contact me at jansipke at gmail.com

  • Artificial Intelligence
  • Cloud Computing
  • Energy
  • Hardware
  • Networking
  • Papers
  • Photography
  • Programming
  • Puzzles
  • Robotics
  • Security
  • Storage
Copyright © 2023 jansipke.nl. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.