Script Home
  • Under Linux python3 mysql database connection

    +Read more
    Author:zyq / Release:2015-10-19 / category:linux shell / crowd0 views time+ / Comments Off on Under Linux python3 mysql database connection /
    python 3 x didn't forward compatibility, cause we're python2. X can be normal use in the library, in python3 used. For example mysqldb 1. Install pymysql pymysql is as substitute of mysqldb python3 environment, enter the command line, use PIP to install pymysql PIP install pymysql3 2. Us...
    LinuxMysqlpython3
  • The CURL command, a commonly used in Linux

    +Read more
    Author:zyq / Release:2015-10-16 / category:linux shell / crowd0 views time+ / Comments Off on The CURL command, a commonly used in Linux /
    download a single file, the default output will be printed to standard output (STDOUT) The curl http://www.centos.org by o/-o save the download file to the specified file: - o: saves the file as specified on the command line file name in the file -o: use the URL in the default filename to...
    commonly used commands
  • Linux shell redirection detailed data analysis

    +Read more
    Author:zyq / Release:2015-10-16 / category:linux shell / crowd0 views time+ / Comments Off on Linux shell redirection detailed data analysis /
    before understanding redirection, now let's look at the Linux file descriptors. Linux file descriptors: can be understood as a Linux tracking open the file, and assigned a number, this number is similar to the c language when file handle operation, through the handle can achieve file read and ...
    redirect datashell
  • Linux shell script to realize TCP/upd protocol communication

    +Read more
    Author:zyq / Release:2015-10-16 / category:linux shell / crowd0 views time+ / Comments Off on Linux shell script to realize TCP/upd protocol communication /
    a few days ago sent to redirect and pipeline related usage, here send some interesting examples today. Through the redirection software communication based on TCP/udp protocol. Linux device inside have a special file: /dev/TCP | upd]/host/port as long as read or written to the file, the equiv...
    shell
  • Linux shell share several methods of random Numbers

    +Read more
    Author:zyq / Release:2015-10-16 / category:linux shell / crowd0 views time+ / Comments Off on Linux shell share several methods of random Numbers /
    in daily life, the random number actually often encountered, want to throw the dice, lottery, and the draw. Ha ha, very simple. Then really want to do programming, through their application design a random number that is really not easy. Now many are operating system kernel will provide the corr...
    random numbershell
  • Linux dev common introduction and application of special equipment

    +Read more
    Author:zyq / Release:2015-10-16 / category:linux shell / crowd0 views time+ / Comments Off on Linux dev common introduction and application of special equipment /
    is the Linux file system type, all hardware such as software in the catalogue below are for the corresponding files. For dev this directory, we know the file below it, says the Linux device. In Windows system, the equipment is easy to understand, as a hard disk, disk refers to the real hardware....
    common special set

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security