Search

Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

Tuesday, 20 April 2010

Useful Bash script stuff

When writing shell scripts it is sometimes useful to pop up a message in X or display a file, use the following to do so:

xmessage "this is my message"

xmessage -center "Hello World"

xmessage -center -file "opensomefile.txt"