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)

9
curl url call in for loop? [on hold]view story

http://unix.stackexchange.com – I am working with bash and I am trying to make a curl url call in a for loop. Below is my simple curl call - curl -v --header "Connection: keep-alive" "localhost:8080/user?userid=52010&client_id=20&attr=0" And I am trying to make this curl call in for loop 100 times - for ((i=1;i<=100;i++)); do curl -v --header "Connection: keep-alive" "localhost:8080/user?uuid=52010&model_id (HowTos)

9
bash: send a control signal to a while loop?view story

http://serverfault.com – Simple bash line: for h in $(cat /tmp/hosts); do ssh $h; done If I type Ctrl-C it exits the for loop, as expected. But I'd like a way to send a signal that will break from the current ssh line only, and proceed to the next iteration in the loop. (HowTos)