Linux · Bash Scripting
For dat=/home/mk/book/book.tar.gz, what do ${dat%pattern} and ${dat%%pattern} strip, and which gives the directory path?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
