1 |
Joseph wrote: |
2 |
|
3 |
>I was trying to run this Red Hat memtest.sh script. |
4 |
>So I copied the linux.tar.gz (45Mb file) to /tmp directory. |
5 |
> |
6 |
>Though when I try to run the script as user it keeps complaining: |
7 |
>mv: cannot stat `linux': No such file or directory |
8 |
>mv: cannot stat `linux': No such file or directory |
9 |
> |
10 |
> |
11 |
> |
12 |
|
13 |
Does "tar -tzvf linux.tar.gz" show the top-level directory as "linux", |
14 |
or "linux-2....". If the latter, do the following to make a suitable |
15 |
tar.gz for the script (it is easier than fixing the script!): |
16 |
|
17 |
tar -xzvf linux.tar.gz |
18 |
mv "linux-*" linux |
19 |
tar -czvf linux.tar.gz linux |
20 |
|
21 |
HTH |
22 |
-Richard |
23 |
|
24 |
-- |
25 |
gentoo-user@g.o mailing list |