Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 11135

Questions specific to GNU’s Bourne Again SHell, as opposed to other Bourne/POSIX shells. For questions about Unix shells in general, use the /shell tag instead.

5
votes
The pipe symbol ("|") connects the STDOUT stream from the left side process to the STDIN stream of the right side process. It sounds like your program is outputting to STDERR. You can send STDERR to …
answered Oct 29 '16 by waltinator
1
vote
You must set HISTSIZE=0 to close the old $HISTFILE before making your changes. See man bash. …
answered Apr 2 '16 by waltinator
1
vote
In my ~/.bashrc, I have: # from the "xttitle(1)" man page - put info in window title update_title() { [[ $TERM = xterm ]] || [[ $TERM = xterm-color ]] && xttitle "[$$] ${USER}@${HOSTNAME}:$PWD …
answered Oct 11 '16 by waltinator
1
vote
If you don't need "live" data, you could, by reading man bash, use per-PID $HISTFILEs and send the saved commands off to the internet later. A simple matter of scripting rather than source … modification. However, uncooperative users can defeat this approach. One of my answers on AskUbuntu discusses the first part of the method. ~/.bash_logout (man bash again) can do the rest. …
answered Jun 3 '16 by waltinator
1
vote
Wrap what you want to do in a script (bash, perl, ...). Debug the script. Tell at to run the script.: at now + 5 /home/user/bin/doit ^D …
answered Dec 17 '16 by waltinator