Linux DB PHP Scripts Tech Diary
Search This Blog
Friday, March 11, 2011
Assign Values to variables from a text file
[root@localhost xxx]# cat test.sh
#!/bin/bash
read a < process.log
echo $a
results:
[root@localhost xx]# ./test.sh
mysql-bin.000005
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment