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)

9
LXer: AV Linux review: A distro packed with audio and visual applicationsview story

http://www.linuxquestions.org – Published at LXer: In today's open source roundup: A review of AV Linux. Plus: Customize your Bash prompt, and Lenovo releases Chromebooks. Read More... (HowTos)

9
check if genisoimage is succesfulview story

http://unix.stackexchange.com – I use a script to convert all VIDEO_TS directories to .ISO. How can I check if genisoimage is actually converting it instead of it failling and converting the next folder? After conversion I have a command to delete the folder but if genisoimage fails then it still deletes it. #!/bin/bash iso_name="" parent_path="" full_path="" total=0 IFS=$'\n' clear for file in $(find /shares/media/ -type d (HowTos)

9
"if" Loop not working when executing script using cronview story

http://www.unix.com – I am facing this weird issue where the script is working fine from the command line but when I am executing it from cron though it is working fine but the "if" loop is processing else part though I know that the if part of the logic is true and ideally the loop should execute the if portion. After executing the script though I am getting the value for the variable SZ=0 but for some re (HowTos)

9
Where is $_ defined by POSIX?view story

http://unix.stackexchange.com – In this Unix & Linux StackExchange question, it is stated that $_ is "one of only some 7 special parameters defined by POSIX". I can't find that definition although I can find eight other special parameters defined by POSIX and I've seen $_ defined in the ksh and bash man pages. Can someone point me to the definition in POSIX? (HowTos)