GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I forgot what the fk I'm doing again. Can someone help me with ssh? (https://gfy.com/showthread.php?t=214859)

Adult Site Traffic 12-30-2003 05:14 PM

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.

V_RocKs 12-30-2003 05:16 PM

Google linux command unzip

http://66.102.7.104/search?q=cache:5...=en&i e=UTF-8

sextoyking 12-30-2003 05:16 PM

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

Adult Site Traffic 12-30-2003 05:17 PM

no, it would be just .. maybe .. 1.zip

cd

ls

unzip 1.zip ?

sextoyking 12-30-2003 05:20 PM

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.

the_wizz 12-30-2003 05:21 PM

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.

Adult Site Traffic 12-30-2003 05:23 PM

Thank you very much. I have my answer now. You guys helped me save a bunch of time :thumbsup :thumbsup

Adult Site Traffic 12-30-2003 05:25 PM

Oh, and " unzip " can be in root and I need to cd to the zip, right ?

cheese 12-30-2003 05:25 PM

Quote:

Originally posted by Adult Site Traffic
no, it would be just .. maybe .. 1.zip

cd

ls

unzip 1.zip ?

yea, just cd to the directory of the zip file and type "unzip filename.zip"

V_RocKs 12-30-2003 05:26 PM

Quote:

Originally posted by the_wizz


tar zxf bigass.tar.gz (or .tgz) will unzip a gziped file.

tar -zxf bigass.tar.gz

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