6 posts tagged with scripting and linux.
Displaying 1 through 6 of 6. Subscribe:

scp return codes different?

I'm working on testing a modification to a bash script for work. I'm trying to scp a file to the same source directory. For testing purposes, I've altered the permissions on the target directory so that the scp'ing user doesn't have permissions to write to it. The first try I get a return code of 1. The second try I get a return code of 0, even though the permissions haven't changed and the file actually fails to transfer. [more inside]
posted by tckma on Jun 11, 2015 - 8 answers

Scripting exercises and tech interview theory?

Help me prep as an applicant in an imaginary interview for a junior programming position centered around Linux shell scripts, PHP, and Python, with an emphasis on processing text and URLs (availability, routing, etc). [more inside]
posted by jsturgill on Oct 17, 2011 - 10 answers

Stop Bash from getting ahead of itself...

Shell scripting quandry: running apt-get and then running a command that requires a apt-get installed package fails because bash doesn't wait for apt-get to finish... [more inside]
posted by tmcw on Dec 6, 2008 - 4 answers

Help me design my torrent management system.

I'm looking for tips, tricks, hacks, scripts, and ideas for managing torrents using Linux. [more inside]
posted by christonabike on Jan 26, 2008 - 8 answers

Questions about cron

Paging Linux geeks -- please teach me the inner mysteries of cron and scripting. Simple questions follow. [more inside]
posted by zek on Feb 21, 2007 - 11 answers

I'm getting error messages when trying to create or clear semaphores in perl on linux.

Perl, semaphores, linux, problems [mi] [more inside]
posted by pissfactory on Oct 4, 2004 - 5 answers

Page: 1