"xterm -e ls" and then I want that the xterm window wait
Hi,
I want to shut the command: "xterm -e ls" and then I want that the xterm wait until I close window or press some key... How can I do that? |
Code:
xterm -e "ls;read" |
add: read -p "Press any key to close window…"
|
I found the solution by my self:
-hold Any way, thanks for the answers. |
That's one of the great things about *nix in general, there are a half dozen ways to approach any problem :)
|
All times are GMT -5. The time now is 08:39 AM. |