Linux

19/06/2015

Tar & Untar

To create archive: tar -zcvf tar-archive-name.tar.gz source-folder-name To extract files: tar -zxvf tar-archive-name.tar.gz
  • 169
  • 0
22
05/06/2015

Usind find command

find [location] -iname "*text*" eg: find / -iname "*filename*"
  • 47
  • 0
6
03/04/2015

How to install VSFTPD on Ubuntu

apt-get update apt-get install vsftpd nano /etc/vsftpd.conf Change the following: anonymous_enable=NO write_enable=YES ftpd_banner=Welcome to YOUR FTP service. /etc/init.d/vsftpd restart
  • 58
  • 0
6
03/04/2015

VSFTP default permission 600? How to fix it.

Okay, just ensure this parameter in /etc/vsftpd.conf accordingly: anonymous_enable=NO local_enable=YES write_enable=YES local_umask=0002 anon_upload_enable=YES anon_mkdir_write_enable=YES file_open_mode=0777 Then restart; /etc/init.d/vsftpd restart
  • 55
  • 0
5
09/02/2015

Ubuntu file upload

I thought changing 1 line from php.ini is enough, but there are 2 lines need to be altered: upload_max_filesize = 256M post_max_size = 257M (post…
  • 97
  • 0
7
19/12/2014

Ubuntu change & show local time

Run this: dpkg-reconfigure tzdata Then: ln -sf /usr/share/zoneinfo/GMT /etc/localtime To show local time: date
  • 51
  • 0
6