Linux Essentials L2.4 Working with files and directories

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

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

  • @nervesofsteel01
    @nervesofsteel01 4 ปีที่แล้ว +1

    You have not moved the file across @ 11:52 but you have renamed it ..

  • @bossco30
    @bossco30 11 ปีที่แล้ว

    Do you know where I can find a some practice tests for the LPI's Linux Essential?

  • @TheDeIirium
    @TheDeIirium 8 ปีที่แล้ว +1

    Why does the ^ character expand to "begins with" in the command ls -a | grep '^\.' while it does expand to the opposite when it is being used in rm [^s]* ?

    • @theurbanpenguin
      @theurbanpenguin  8 ปีที่แล้ว +1

      If the ^ is at the start pd a string then we are saying any character followed by the string. If it st the end of the string then we srae saying a string followed by any character

    • @TheDeIirium
      @TheDeIirium 8 ปีที่แล้ว

      Thank you, sir!

  • @anglojojo
    @anglojojo 9 ปีที่แล้ว

    If I understand correctly the backslash infront of a special character works the same as single quotes would by eliminating any protection that character has. In regards to it's function.
    Example:
    ls [\!]*
    ls ['!']*
    Is my understanding correct? as the results of both commands are the same.

    • @andrewmallett1525
      @andrewmallett1525 9 ปีที่แล้ว +1

      +anglojojo yes. \ protects the following character from shell expansion. The single quotes protect all characters quoted from shell expansion

    • @anglojojo
      @anglojojo 9 ปีที่แล้ว

      +Andrew Mallett Thanks for connecting the last dot in my brain :)