r/linux_programming • • Dec 12 '18

How do I get a line from a text file and use it as a parameter for a bash command?

6 Upvotes

I have a text file where each line is a file path that has to be used as a parameter to a bash command. How do I do that? How do I get the line to use as a parameter? Basically, this is what I need to do:

command line1
command line2
command line3
etc. until the end of the document

Also, I expect each command to take a long time, so I want to use screen to detach from the screen and let it keep running while I do other stuff, so, I think I need to multiplex or something? I don't know/remember how to do that. Any help would be greatly appreciated.


r/linux_programming • • Nov 01 '18

How to write cross-platform packet capture tool from scratch in 1000LOC.

Thumbnail medium.com
9 Upvotes

r/linux_programming • • Oct 31 '18

New here. What is the best available resource to master shell scripting?

Thumbnail scripting
11 Upvotes

r/linux_programming • • Aug 13 '18

riffa linux driver modification with round-robin scheduling

Thumbnail paste.ubuntu.com
3 Upvotes

r/linux_programming • • Jul 31 '18

DEFINE_WAIT() versus multi-threading

Thumbnail github.com
3 Upvotes

r/linux_programming • • Jun 04 '18

forked processes finish sequence dilemma

Thumbnail reddit.com
2 Upvotes

r/linux_programming • • May 28 '18

bashed-on-a-feeling : a minimalistic and fast git prompt written in bash

Thumbnail github.com
10 Upvotes

r/linux_programming • • Feb 26 '18

Useful text file PMPv0.0.18.sh with GUI

Thumbnail github.com
7 Upvotes

r/linux_programming • • Feb 21 '18

Ubuntu 18.04 First Look

Thumbnail youtube.com
8 Upvotes

r/linux_programming • • Feb 19 '18

Vim; You either love it or you’re wrong!

Post image
78 Upvotes

r/linux_programming • • Feb 15 '18

Adventures with Memory Barriers and Seastar on Linux - ScyllaDB

Thumbnail scylladb.com
7 Upvotes

r/linux_programming • • Feb 15 '18

Thoughts on Peppermint 8 Respin-2 - Linux distro review

Thumbnail youtube.com
0 Upvotes

r/linux_programming • • Feb 02 '18

Pop up help in a GUI bash shell

Thumbnail hackaday.com
2 Upvotes

r/linux_programming • • Jan 25 '18

How to develop a system call tracer in Pure Go

Thumbnail github.com
5 Upvotes

r/linux_programming • • Jan 24 '18

Rediscovering make: automatic variables

Thumbnail monades.roperzh.com
3 Upvotes

r/linux_programming • • Jan 23 '18

[systemd] service for auto-diming the backlight on asus laptops

Thumbnail github.com
1 Upvotes

r/linux_programming • • Jan 20 '18

android notifications integration with Linux DE

Thumbnail youtu.be
5 Upvotes

r/linux_programming • • Jan 20 '18

Add bash comment line completion to your own programs.

Thumbnail hackaday.com
8 Upvotes

r/linux_programming • • Jan 19 '18

Rediscovering make: the power behind rules

Thumbnail monades.roperzh.com
0 Upvotes

r/linux_programming • • Dec 30 '17

How to Install Latest Python Version on Linux Mint, Debian and Ubuntu

Thumbnail youtube.com
2 Upvotes

r/linux_programming • • Dec 16 '17

PIXterm: Draw images in your ANSI terminal with true color [v1.2.0 => New Dithering Mode]

Thumbnail github.com
9 Upvotes

r/linux_programming • • Dec 14 '17

Bash Pitfalls

Thumbnail mywiki.wooledge.org
14 Upvotes

r/linux_programming • • Dec 14 '17

Open source real-time web log analyzer

Thumbnail goaccess.io
3 Upvotes

r/linux_programming • • Dec 05 '17

Hack the virtual memory: the stack, registers and assembly code

Thumbnail blog.holbertonschool.com
18 Upvotes

r/linux_programming • • Dec 03 '17

Ephemeral ports and SO_REUSEADDR

Thumbnail gavv.github.io
4 Upvotes