10 posts tagged with script and linux.
Displaying 1 through 10 of 10. Subscribe:

Linux Bash - Write array contents to middle of existing file

Not sure if this is a failing in my Google-fu, a rare edge case, or if it's not really possible, but I'm trying to write a bash script that will write the full contents of an array into an arbitrary point in an existing file. [more inside]
posted by Nice Guy Mike on Feb 4, 2019 - 16 answers

Linux OCR

Linux script to parse all files in file tree and submit to a program? [more inside]
posted by yoyo_nyc on Aug 15, 2010 - 12 answers

Who's got the focus?

On MacOS, I can say osascript -e 'set myapp to name of (info for (path to frontmost application))' to print the name of the program that currently has focus, in a way that's useful for shell scripting. How can I get the same information in a graphical session on Linux?
posted by fantabulous timewaster on May 12, 2010 - 21 answers

Shell script handling CSV columns

I'm using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I'm having some difficulty going on with the next part of the script. Some help would be great. :) [more inside]
posted by fightoplankton on Jun 10, 2009 - 11 answers

What is the linux command 'dt'?

Obscure linux/unix text processing command: what is 'dt'? [more inside]
posted by logicpunk on Oct 6, 2008 - 9 answers

working with tar archives...

How can get the sum of the files sizes of all php and css files within specific folders of a tar archive? [more inside]
posted by timebomb on Aug 13, 2008 - 18 answers

How to delete long path names with bash shell script?

BASHFilter! I've got a simple bash script that I've written to clean out a frequently used NAS. I run it every 30 days, it sets proper permissions, removes extraneous files and directories, but it frequently hangs on paths longer than 255 characters. [more inside]
posted by jackofsaxons on Jun 2, 2008 - 13 answers

Simple Filename Parsing Question

Should-be-simple Linux timestamped file parsing question. [more inside]
posted by yellowbkpk on Mar 9, 2008 - 7 answers

Bash, I command thee to always...

How do I get bash to automagically execute a line or two of code at login? [more inside]
posted by nakedcodemonkey on Oct 22, 2007 - 25 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

Page: 1