티스토리 뷰

공부

[Sh] rmdir ... || true

승가비 2021. 12. 29. 22:21
728x90

https://unix.stackexchange.com/questions/325705/why-is-pattern-command-true-useful/325727

 

Why is pattern "command || true" useful?

I am currently exploring Debian packages, and I have been reading some code samples. And on every line in, for example, the postinst script is a pattern. some command || true another command || tr...

unix.stackexchange.com

 

728x90

'공부' 카테고리의 다른 글

[Java] Ehcache get, update (refresh key)  (0) 2022.01.02
[Java] Integer.toBinaryString(int i)  (0) 2022.01.01
[Java] getMethodName & getClassName  (0) 2021.12.29
[Linux] Too many levels of symbolic links  (0) 2021.12.29
[HTTPS] basic  (0) 2021.12.28
댓글