Progrider

Programming discussion

Topics tagged shell

7 topics. All tags

TopicRepliesLast post
Help · Anonymous · Solved, Resolved · shell

Is there a one liner? They're all in one directory.

3
by Anonymous
Last post
Help · wren · Solved, Resolved · macos shell

script works on my linux box and fails on my work mac sed -i 's/foo/bar/' file sed: 1: "file": invalid command code f

2
by wren
Last post
Help · pbj · Open · backups shell

ran rsync -a --delete photos/ /mnt/usb/ and now only the photos are there. other folders gone. why?? can i get it back

4
by lintroller !-TjZOnKc
Last post
Findings · awkward · Open · shell

Ran into this today and I'd have sworn I knew how it worked. set -e f() { false; echo "still here"; } f || echo failed T…

5
by awkward
Last post
Findings · awkward · Open · awk shell

I use this about twice a week and never see anyone else use it. awk -F, '{s[$1]+=$2} END {for (k in s) print k, s[k]}' d…

3
by wren
Last post
Help · frobnitz · Open · serial shell

Tcl expect, driving a router console through /dev/ttyUSB0 with spawn -open. Same script through ssh is fine. Over serial…

0
by frobnitz
Last post
Help · pbj · Solved, Resolved · shell

find . -name *.log | xargs rm says no such file for some of them. how do i fix

4
by pbj
Last post
All times shown in UTC.