9
Can you use gnome keyring in bash script, if yes then how?view story

http://askubuntu.com – I am developing a automated mounting script for Windows shares. I have finished the script and it works just fine, but is it possible to add Gnome Keyring to the bash so once user writes hes/hers password then it will be saved to Gnome Keyring and later will be taken from there. (HowTos)

9
Some puzzles of how to close file descriptors on sh or bashview story

http://unix.stackexchange.com – Question 1. What will happen if we close a input file descriptor as if it is a output file descriptor? (or vice versa). For Example, $ exec 5<&2 $ exec 5>&- In my linux box, any error does not happen on sh and bash. And POSIX seems not to say we SHOULD close input file descriptos with <-. The redirection operator: [n]<&word ... (HowTos)

9
bash: /home/user/.ssh/authorized_keys: No such file or directoryview story

http://unix.stackexchange.com – Create a ssh key: $ ssh-keygen -t rsa –P "" Moving the key to authorized key: $ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys bash: /home/user/.ssh/authorized_keys: No such file or directory (HowTos)

9
Building OpenFOAM 2.2.2 for Xeon Phiview story

http://unix.stackexchange.com – I'm trying to build OpenFOAM for Xeon Phi on CentOS 6.5 (Linux 2.6.32-431.11.2.el6.x86_64) Using these steps Install Intel Parallel Studio tar xvfz parallel_studio_xe_2013_sp1_update2.tgz cd parallel_studio_xe_2013_sp1_update2 ./install.sh Compile flex and zlib echo ' /opt/intel/bin/iccvars.sh intel64 export PATH=/opt/intel/bin:$PATH ' >> ~/.bashrc bash # zlib wget -c 'http://zlib.net/ (HowTos)

9
bash: /home/user/.ssh/authorized_keys: No such file or directoryview story

http://askubuntu.com – Create a ssh key: Command: ssh-keygen -t rsa –P "" Moving the key to authorized key: Command: cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys bash: /home/user/.ssh/authorized_keys: No such file or directory (HowTos)

9
Permission denied for root to change inotify max_user_watches, how solve this?view story

http://serverfault.com – As root in a CentOs 6.4 server I got this error in an application: Fri May 16 01:45:23 2014 Error: Terminating since out of inotify watches. Consider increasing /proc/sys/fs/inotify/max_user_watches But when I try to run the command as root I got permission denied. # echo 100000 > /proc/sys/fs/inotify/max_user_watches -bash: /proc/sys/fs/inotify/max_user_watches: Permission denied Even if (HowTos)

9
scp to remote host without executing bash_profile file on that hostview story

http://stackoverflow.com – I have host machine whose .bash_profile file has some user prompts (bash read command), after reading some input from user it executes some command based on input. This works perfectly fine. Now when I try to scp something to this host, it executes .bash_profile (since scp first ssh into remote host) and it prompts user input and scp fails. (HowTos)

9
Unable to connect to Vagrant (ubuntu/trusty64) from host machine via port forwardingview story

http://stackoverflow.com – I have set up a Vagrant box with Ubuntu 14.04, node.js, npm, mongodb, forever, deployd and express. (HowTos)

9
Menu with working functionsview story

http://www.unix.com – I am creating a menu currently that makes use of functions to complete each selected option but running into a bit of trouble calling them into action still fairly new with using functions correctly so any insight is appreciated. (HowTos)

9
Writing Hbase and pig scripts in the bash script fileview story

http://www.unix.com – Hi, I have a script file where i'm validatig the input file and storing the validated records on HDFS. I wanted to load data from HDFS to HBASE using pig script. So for that i have created a HBASE table and written pig script to load data from HDFS to HBASE which is working fine. Now i wanted those scripts to be wriitn in the .sh file. (HowTos)