So, the solution to check the exit status of a particular command in piped commands is to use an inbuilt linux variable called PIPESTATUS.
確定! 回上一頁