Linux 🏴‍☠️

How do I zip/unzip a directory? [Ubuntu]


FTP do have two modes: binary and ASCII. By default most clients use ASCII mode, which breaks your binary files completely. I don’t know which FTP client you are using, but for example in ncftp you can use command “binary” to switch to binary mode.

If you want to create ZIP files using Ubuntu (or almost any other Linux), use zip. You can install it to Ubuntu by running

sudo apt-get install zip

Then you can create zip file by running

zip -r foldername


If you want to extract to a particular destination folder, you can use:

unzip -d destination_folder
Story 🏴‍☠️

Full-stack Dev

ช่วงนี้โคตร Full-stack
photoshop/css/javascript -> frontend
php/nodejs -> backend
mysql/orientdb ->dba
nginx/digitalocean -> system engineer
android ->mobile dev

เป้าหมายต่อไปที่ปักหมุดไว้คือ docker