11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


termux 프럼프트 디랙토리 설정 지정/Change command prompt in termux ? Use custom prompt PS1

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    cd ~
    cd ..
    cd /usr/etc

    echo $PS1

    내용확인


    nano bash.bashrc

    nano ~/../usr/etc/bash.bashrc

    내용수정

    PS1='termux_cd ~ = home>\$ '

    ==================================

    간단 설정값

    http://ezprompt.net

    아서 수정 하세요


    PS1='termux_home ]\u\w[\[\e[41m\]\t\[\e[m\]'


    ps1설정값 확인
     echo $PS1

    termux_home ]\u\w[\[\e[41m\]\t\[\e[m\]


    변경값 적용

     source bash.bashrc

    변경전체 내용 확인

      cat bash.bashrc

    ------------------------------------


    if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
            command_not_found_handle() {
                    /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
            }
    fi
    #PS1='\$ '
    PS1='termux_home ]\u\w[\[\e[41m\]\t\[\e[m\]'
    #ps1 수정은 http://ezprompt.net/ 참조
    alias mc='mc -a'
    alias l='ls -l'

    =====================
    3232235521_1575300609.0519.png

    http://ezprompt.net/

    에서 참조 수정 하세요

    3232235521_1575300109.8251.png

     에서 참조 하세요


    PS1='termux >\u\w\$ '


    3232235521_1575300078.4553.png

    ------------------------------------

    debian10에서 적용

    https://11q.kr/g5s/bbs/board.php?bo_table=s11&wr_id=8972

    alias 적용

    nano 1,nano 2  

    nano ~/.bashrc source ~/.bashrc



    저는 이하 내용 적용 되지 않음

    =======================================

    termux 디랙토리 칼라지정/Change command prompt in termux ? Use custom prompt PS1

    https://youtu.be/yLGya7MNW5M

    *Command:- pkg install nano cd .. cd usr cd etc ls nano bash.bashrc *Code:- PS1= '\[\e[1;31m\]YOURNAME\[\033[0;32m\]@\[\033[1;31m\]localhost\[\033[1;36m\]:~$\[\033[1;37m\] ' Change YOURNAME into your custom prompt name *Save file:- ctrl o (volume down + o) hit enter ctrl x (volume down + x) Thanks for watching Please subscribe my channel for more tricks

    ---------------



    ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    Change command prompt in termux
    cd ~
    cd ..
    cd /usr/etc
    nano bash.bashrc
    PS1='termux_cd ~ = home>\$ '

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,672 / 59 Page
    [ CoreElec의 부팅에서 cec가 작동하지 않습니다 ] 댓글 2

    CoreElec의 부팅에서 cec가 작동하지 않습니다1.정보 출처https://discourse.coreelec.org/t/8-95-5-cec…

    [ U5pvr 메모리상태점검 ]

    U5pvr 메모리상태점검df -hroot@AOL-Debian:~# df -hFilesystem Size Used Avail Use% Mount…

    [ Beelink GT-King Pro 도착에 대한 준비작업 ]

    Beelink GT-King Pro 도착에 대한 준비작업1.현재 펨웨어 확인.정상부팅 설치없이 기본동작 프로그램 구동 확인.reset 부트확인…

    [ termux booting autorun bash_profile 자동실행 ] 댓글 2

    [termux booting autorun bash.profile 자동실행]# Termux 어플 자동 실행Autorun 어플설치 2개 실행te…

    [ ★1)termux에서 데비안10 설치 명령 debian-in-termux(재설치1) ] 댓글 8

    Termux를 설치하고 debian 설치 tvheadend 설치 자동실행 하는 방법https://github.com/MFDGaming/debia…

    [ 데비안 10 rc.local 추가 파일 생성 실행파일 만들기 ] 댓글 1

    데비안 10 rc.local 추가 파일 생성 실행파일 만들기최신 데비안 버전에서는 /etc/rc.local 파일이 더 이상 사용되지 않지만 여전…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-03 01:21:51

    오늘의 홈 현황


    • 현재 접속자♨ 627 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 1,011 명
    • 어제 방문자 2,290 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,356,546 명
    • 전체 게시물※ 8,616 개
    • 전체 댓글수※ 24,680 개
    • 전체 회원수 11,008 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑