You are not logged in.
Pages: 1
If i am going to run a command via shell and it has lots of arguments (like when you do a massive installation of packages via pacman) it looks kind of messy.... just a single line with lots of package names.. kind of like this:
pacman -S package1 package2 package3 package4
I know there is a way to write the commands line by line, sort of like this:
pacman -S
package1
package2
package3
...
But i don't know (can't remember) how to do this..... a little help?
Offline
pacman -S \
package1 \
package2 \
package3 \
...
packageN
Offline
Thanks! (total newbie question: 6 years using linux and i could not remember how to do this)
Offline
try
pacman -S \
package1 \
package2 \
package3 \
...
edit: nvm I was too slow
Last edited by examon (2011-07-31 17:50:20)
Offline
Or
pacman -S $(cat somefile)
where somefile holds the package names w/o the version numbers, one per line.
Offline
Pages: 1