Changes between Version 2 and Version 3 of RB1100AHX4


Ignore:
Timestamp:
12/12/25 23:34:43 (4 days ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RB1100AHX4

    v2 v3  
    3737/container/add remote-image=library/alpine:latest interface=veth1 root-dir=tmp1/alpine cmd="tail -f /dev/null" logging=yes
    3838}}}
     39
     40After we shell in container
     41{{{
     42apk update
     43apk add --no-cache python3
     44apk add --no-cache inetutils-telnet
     45root@MK53:~# cat .ashrc
     46
     47alias ls='ls --color=auto'
     48alias grep='grep --color=auto'
     49
     50
     51# ANSI Color Codes (e.g., 31=Red, 32=Green, 34=Blue)
     52# Reset color is 0
     53export PS1_RED='\e[31m'
     54export PS1_GREEN='\e[32m'
     55export PS1_BLUE='\e[34m'
     56export PS1_YELLOW='\e[33m'
     57export PS1_RESET='\e[0m'
     58
     59# Example: [user@host] /path $
     60# \u = username, \h = hostname, \w = working dir
     61# \n = newline, \$ = # or $
     62PS1='%{${PS1_GREEN}%}[\u@\h]%{${PS1_RESET}%}:%{${PS1_BLUE}%}\w%{${PS1_RESET}}% \$ '
     63
     64#PS1='\[\e[31m\]\u@\h\[\e[0m\]:\[\e[32m\]\w\[\e[0m\]\$ '
     65}}}