Reading a file line by line from BASH
To read a file line byline from BASH you use an of the following variants
1. While, read, operator < 2. Cat, while, read 3. AWK
Reading a file line by line from BASH Read More »
To read a file line byline from BASH you use an of the following variants
1. While, read, operator < 2. Cat, while, read 3. AWK
Reading a file line by line from BASH Read More »
Apache HTTP is a general purpose web server, designed to achieve a balance between flexibility, portability and performance. Apache HTTP has a modular architecture which allows to extend the basic functionality by selecting a set of modules: the modules are compiled as Dynamic Shared Objects (DSO) and they may be enabled/disabled using the LoadModule directive.
Install and configure Apache HTTP server Read More »
I have a list of directories in a text file.
Q. Can I create directories from the previous text file?
A. Yes, you can use the xargs command.
How to create directories from a text file Read More »
Over the past 4 years I have worked with many XML providers (interconnecting B2B applications) and some of these providers distribute big XML files, some of them have more than 2GB, as you may already suspect we should not dump 2GB of information into memory because PHP will generate a memory overflow fatal error and your application will not be able to recover by itself, so in this post I will explains how to solve this problem, using…
How to Read XML files in PHP? Read More »
This is the final part of this series and we’ll learn how to connect to a ftp site when we are behind a proxy or firewall, scheduling tasks with at command and queuing jobs with queue command.
lftp a sophisticated ftp client – advanced options Read More »
In this part of this series we will learn how to deal with directories operations: create, download, upload and mirroring.
lftp a sophisticated ftp client – directories handling Read More »
In the first part of this series we learned what lftp is and how to execute some basic ftp operations as connecting/login/exploring an ftp site; in this part we will learn how to deal with file operations: download, upload and change permissions.
lftp a sophisticated ftp client – file handling Read More »
lftp is a sophisticated ftp client that implements the following features:
– Handles different protocols: ftp, ftps, sftp, http, hftp, fish and bittorrent (https and ftps protocols will be available only if lftp was compiled with GNU TLS or OpenSSL libraries) …
lftp a sophisticated ftp client – exploring the site Read More »
If your network administrator has blocked (using a proxy or firewall) any outgoing ssh connection (port 22) and you can't pull, clone, push,… from a remote repository you can fix it by using the https protocol.
Git behind a proxy or firewall Read More »
The PHP community continues to add new features and functionality to this popular programming language in order to make it more attractive, functional and useful. The version 7 (released on December 3) is considered one of the major updates in all the history of PHP due the Zend Engine was refactored to achieve best performance and best use of the memory. Also new features that facilitate and accelerate web development were introduced.
What is new in PHP 7.0? Read More »