The | operator makes bash redirect all data that the command left of it returns to the stdout Let’s try a more complex example. If you want to see the data and write to the file passed on between programs in a pipe, you can insert the tee command.

Continue Reading Using piped examples with tee and xargs .

As you know, year WinSCP is an open source SFTP client and FTP client for Windows. After you connect to Linux server (windows server I have not tried), press key combination:

At the bottom of the window will show an edit box WinSCP program as shown below: I used… Continue Reading Linux command execution using WinSCP.

Sometimes it is necessary to resize the images. The PIL module is used for image processing. The glob module takes a wildcard and returns the full path of all files and directories matching the wildcard. Here are two scripts that I made. The first is a simple example using a… Continue Reading How to resize images – python script .

The official site says: Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report… Continue Reading Python – simple language scripting.

Always save a backup of your data. An important aspect is a date when the backup was made. Today I will show you how to format the backup name so you know since you have. Select the database and go to the Export tag and Custom – display all possible… Continue Reading Export the database in phpmyadmin – setting name and filetype.

Sometimes you have to rename files. This can be tiring when we do it manually. Command sed may be helpful in this case. I’ll take a simple example. I will create a working directory called work. We have to create files with the command:

The result should be :… Continue Reading Parsing files and rename …

These are commands that can be used in the command line in Windows XP.

When using the command line on Windows have a big problem. This happens because I use Linux on my computer. Command alias of Linux gave me the idea. I put these lines of code in the Autoexec.bat file:

Now, using the REGEDIT command to startup Autoexec.bat. If you try… Continue Reading Create ls command on Windows XP.