![]() |
I forgot what the fk I'm doing again. Can someone help me with ssh?
I have a small utility called " unzip ". I have it on one of my servers.
The file is blank when viewed in notepad, and it's 10kb. I used to be able to upload zipped files, and ssh in and run this utility and unpack the zip. Does anyone know the command AND does anyone know if it needs to be in the same folder as the intended unpacked file to execute it? Thank you. |
|
Unzip is on most unix servers. Should work fine I would imagine.
If the file name end with a .gz then use gunzip?? thanks todd |
no, it would be just .. maybe .. 1.zip
cd ls unzip 1.zip ? |
Yeppers,
If I see a todd.zip in one of my dirs, I just type unzip todd.zip and it works fine. does dir. structure, etc. |
Right, if the file is named: bigass.zip
and you're logged in through ssh, you should be able to run: unzip bigass.zip and it will unzip it. tar zxf bigass.tar.gz (or .tgz) will unzip a gziped file. |
Thank you very much. I have my answer now. You guys helped me save a bunch of time :thumbsup :thumbsup
|
Oh, and " unzip " can be in root and I need to cd to the zip, right ?
|
Quote:
|
Quote:
Don't forget the minus sign... |
All times are GMT -7. The time now is 02:05 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123