Comparing files using diff and cmp
The diff command gives details of differences between two files. The cmp command simply tells you whether two files are the same or different. The results would be something like…
Simply Explaining Technology
The diff command gives details of differences between two files. The cmp command simply tells you whether two files are the same or different. The results would be something like…
SCP allows file to be copied to, from, or between different hosts using ssh for data transfer. Copy files from remote computer to a local computer: Copy files from local…
The following script merges several files into one file. Line 5 creates a sorted list of directory contents. Line six loops through all files with .fasta extension. Line 8 appends…
sshfs allows users to mount a remote location to a local address. Then these files can be edited as if they are local files. To set up
The alias command assigns a command or set of commands to a string. Aliases are generally used to simply typing a long command or to execute an option to a…
For security reasons, most servers on the Internet do not show the contents of a directory if the directory address is typed. The user is either redirected to index.whatever, a…
rsync is a very useful alternative to rcp and scp. It tool lets you copy files and directories between a local host and a remote host. The main advantage of…
This error tells us that the mb_string library is not installed. mb_String is a library, which provides support for UTF-8 and UCS-2 characters. PHP uses ASCII by default which is…
In Linux you can use split and join commands to split large files into smaller files or join many smaller files into a large file. This kind of operations are…
Recently, I had to copy a large database from one server to another. I had 100G free on the source server. Unfortunately, the server would run out of memory before…