Tag Archives: cli

Display banner text in command line

You can display banner-like texts with large characters created from regular characters using the FIGlet utility. Basic usage requires only the text you want to output on the CLI, but you can also specify the font used in text rendering, dimensions and other layout options.Continue reading

Disk management in Linux

If you need to manage your disk or just check the disk space usage of a Linux powered computer, here are some suggestions for both graphical and command line interfaces.Continue reading

CLI search and replace in multiple files

Here is a quick tip about how to find and replace a text in multiple files, from CLI.In this example you have some text files (.txt) with urls like “http://example.com, http://another-example.com…”. What you are trying to do is to replace all “http” references with “https”.Continue reading

PHP CLI increase memory limit

When running a PHP script from command line interface (CLI), a higher memory limit may be required in order for the script to be successfully executed. This can be achieved using the “-d” or “–define” option in the commandContinue reading