Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Bash Cookbook Author (bashcookbook)

  1. Bash Cookbook Author Bash Cookbook Author

    Best of 2010! We made the top 25 O'Reilly e-books for 2010! Ad: Get 60% off those titles today only w/code DDT25 at http://oreil.ly/hQxKRR

    Wednesday, 19-Jan-11 18:16:57 UTC from web
  2. Bash Cookbook Author Bash Cookbook Author

    Delete a function definition with the "unset" builtin, but add the "-f" option. Example: if you have function "myfunc" use: unset -f myfunc

    Tuesday, 18-Jan-11 18:43:27 UTC from web
  3. Bash Cookbook Author Bash Cookbook Author

    See all the functions defined in your environment with "declare -f" or "typeset -f" . Specify a function name to see just that function.

    Monday, 17-Jan-11 18:58:23 UTC from web
  4. Bash Cookbook Author Bash Cookbook Author

    Use !cmd to repeat the last command beginning with "cmd" or just look at what it would be with !cmd:p

    Monday, 29-Nov-10 18:15:03 UTC from web
  5. Bash Cookbook Author Bash Cookbook Author

    Keep your history smaller by omitting adjacent duplicate entries; just set HISTIGNORE="&" or HISTCONTROL="ignoredups"

    Wednesday, 24-Nov-10 18:44:30 UTC from web
  6. Bash Cookbook Author Bash Cookbook Author

    Use "history -s some command" to add some command to the end of your history list without actually executing it.

    Wednesday, 10-Nov-10 17:55:27 UTC from web
  7. Bash Cookbook Author Bash Cookbook Author

    'single quotes' give you no substitutions but used inside "dbl quotes" they have no special meaning so you can do: echo "MYVAR='$MYVAR'"

    Monday, 25-Oct-10 17:20:31 UTC from web
  8. Bash Cookbook Author Bash Cookbook Author

    Fill an array variable from a line of text parsed into white-space-separated words with: read -a VAR then echo ${VAR[2]} for the 3rd word.

    Friday, 22-Oct-10 18:09:15 UTC from web
  9. Bash Cookbook Author Bash Cookbook Author

    A : command is a builtin that does nothing but evaluate its arguments. It's a handy way to "declare" defaults, like : ${MYVAR:=default}

    Monday, 18-Oct-10 16:57:06 UTC from web
  10. Bash Cookbook Author Bash Cookbook Author

    Talk at SVLUG went well - now back to bash: if VAR holds "host:/some/path" then use ${VAR%%:*} to get just the host name.

    Friday, 08-Oct-10 19:34:13 UTC from web
  11. Bash Cookbook Author Bash Cookbook Author

    I'm in San Jose today - talking to the SVLUG tonight 7-9pm. Come and say "hi" and let me know you subscribe via identi.ca . - Carl svlug.org

    Wednesday, 06-Oct-10 21:50:42 UTC from web
  12. Bash Cookbook Author Bash Cookbook Author

    Will you be there Wed. 7pm at SVLUG? Bring your copy of bash Cookbook I'll stay around after and sign yours! Carl www.svlug.org/meetings.php

    Monday, 04-Oct-10 18:13:13 UTC from web
  13. Bash Cookbook Author Bash Cookbook Author

    Want to know all your shell variables beginning with S ? Type: echo ${!S*} ; for v in "${!S@}" ; do echo $v = ${!v} ; done

    Monday, 04-Oct-10 18:12:32 UTC from web
  14. Bash Cookbook Author Bash Cookbook Author

    Come meet a #bashcookbook author - Live, In Person - at Silicon Valley Linux User Group this Wed. 7pm http://www.svlug.org/meetings.php

    Friday, 01-Oct-10 18:22:44 UTC from web
  15. Bash Cookbook Author Bash Cookbook Author

    Ever want to internationalize your shell scripts? check out this Linux Journal article: http://tinyurl.com/bash-i18n

    Tuesday, 28-Sep-10 20:59:01 UTC from web
  16. Bash Cookbook Author Bash Cookbook Author

    Change your directory stack by simple assignment, e.g. DIRSTACK[2]=/new/loc but you need pushd or popd to add or remove stack entries.

    Wednesday, 22-Sep-10 17:47:44 UTC from web
  17. Bash Cookbook Author Bash Cookbook Author

    Do you use "dirs", "pushd" and "popd"? Do you know DIRSTACK is a bash array variable with each of the stack's directory names as an element?

    Friday, 17-Sep-10 17:43:48 UTC from web
  18. Bash Cookbook Author Bash Cookbook Author

    Clear out that pile of directories from all your pushd cmds, leaving you in the current directory but w/an empty stack; type: dirs -c

    Thursday, 16-Sep-10 01:51:52 UTC from web
  19. Bash Cookbook Author Bash Cookbook Author

    Get bash Cookbook! Today only #Ebook Deal: bashcookbook or any of 45 others (DRM-free) Only $9.99 ea. Use code: DDCCC http://oreil.ly/dmohlH

    Wednesday, 15-Sep-10 18:23:33 UTC from web
  20. Bash Cookbook Author Bash Cookbook Author

    If you use pushd and have a stack of directories, use ~2 for the 2nd dir from the top (3rd in the stack) as in: cp myfile ~2

    Friday, 23-Jul-10 18:03:07 UTC from web
  • Before

User actions

  • Subscribe
  • List
Bash Cookbook Author

Bash Cookbook Author

mostly USA

http://www.bashcookbook.com

authors of the best book on the bash shell.

Tags
  • (None)

Site notice

Identi.ca is converting to pump.io on 1 June 2013

Following 3

  • weloveit admin weloveitdotinfo
  • Kjetil Hoiseth hz
  • marius nongeekboy

Followers 86

  • Alexander .S.T. Ross alexanderstross
  • Sophia Adams twist25
  • Томислав Петков w3bs1t3
  • Digitaldruck-Fabrik digitaldruckfabrik
  • gryps gryps
  • effendi java09
  • nerida neridabg
  • lector lector

Groups 4

  • Ubuntu users ubuntu
  • GNU's Not Unix gnu
  • Linux linux
  • Command Line Interface cli

Statistics

User ID
40720
Member since
21 Feb 2009
Notices
222
Daily average
0

Feeds

  • Activity Streams
  • RSS 1.0
  • RSS 2.0
  • Atom
  • FOAF
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by E14N. It runs the StatusNet microblogging software, version 1.1.0-release, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal