Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
clone-pkg-with-yum.sh
chusiang
May 10th, 2012
200
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
# run it at source server.
# $ yum list installed | awk '{print $1}' > list.txt
for
X
in
$
(
cat
list.txt
)
;
do
yum install
-y
$X
done
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
12 min ago | 27.17 KB
Untitled
2 hours ago | 15.88 KB
Untitled
2 hours ago | 8.75 KB
Untitled
4 hours ago | 7.75 KB
Untitled
4 hours ago | 17.19 KB
Untitled
6 hours ago | 13.18 KB
Untitled
8 hours ago | 7.50 KB
HD2 - destroyed Hardware
Python | 8 hours ago | 0.19 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!