Unix Environment Variables | Lecture #5 | Unix Shell Scripting Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 8

  • @MS-mp5ti
    @MS-mp5ti ปีที่แล้ว +2

    Sir when I put VAR1= 'Shell Scripting' and press enter
    My terminal shows command not found

    • @ampcode
      @ampcode  ปีที่แล้ว

      Sorry for late response. Could you please let me know from where you are submitting the command?

    • @MS-mp5ti
      @MS-mp5ti ปีที่แล้ว

      @@ampcode windows 11 Ubuntu subsystem

    • @cloudprograms9612
      @cloudprograms9612 ปีที่แล้ว +2

      @@MS-mp5ti there cannot be any spaces. In my case it would be:VAR1="Shell Scripting"

    • @gladstoneakabuah1798
      @gladstoneakabuah1798 ปีที่แล้ว

      Please make sure there are no spaces on either side of the equal sign ("=")

  • @sumitsarkar4375
    @sumitsarkar4375 ปีที่แล้ว

    PS1='[\u\w]' is not working in my mac terminal. How to fix it?

  • @sachinsuman8536
    @sachinsuman8536 ปีที่แล้ว

    there cannot be any spaces. In my case it would be:VAR1="Shell Scripting". This could have been mentioned by the tutorial maker. He needs a bit experience in teaching. His videos are good but I will suggest him to review the videos 2-3 times so that he can be able to cover or mention any important stuff if there are.