Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. caallison

    Day of Year

    I'm lazy. How about date "+%d" | tr -d '0'
  2. caallison

    grab a string in a line

    Or you can just pass your file into the cut command. cat $file | cut -d"(" -f2 | cut -d")" -f1 I'm not an eloquent scripter. Cut at least doesn't care where the parentheses are in the line though nor does it care how many words are bounded by the parentheses. The final...
  3. caallison

    Can you change the tone of the bell, echo "\a", ?

    You might want to try the xset command. xset b 50 1000 100 would set (xset) the bell (b) to 50% amplitude, 1000 Hz for 100 milliseconds. Not guaranteed to work across all terminal types.

Part and Inventory Search

Back
Top