Revisiting Midnight Commander: A Classic Linux File Manager
Revisit Midnight Commander’s familiar blue panels, learn how to install it on Ubuntu, and use its keyboard shortcuts to manage files in the terminal.
Revisit Midnight Commander’s familiar blue panels, learn how to install it on Ubuntu, and use its keyboard shortcuts to manage files in the terminal.
Here is how to convert text files from one character encoding to another in GNU/Linux: The -f parameter denotes “from” and -t parameter denotes “to” character set.//IGNORE means the “iconv” will ignore any characters that are not available in the target character set. While “//TRANSLIT” means the converter will attempt to substitute characters that are […]
Here’s how to convert Microsoft Office *.docx files to PDF using Linux in Command Line. This trick can also be used together with other documents files supported by LibreOffice First make sure you’ve installed the latest version of LibreOffice for use in command line environment. Assuming the user is ‘example’ and the filename to convert […]
Here’s how to run a script with another user privilege. You can run this user with root. su -c “/usr/bin/executable” -s /bin/sh username Where the “username” is the username whom privilege you want to execute
Here’s a quick tip on how to download and save entire website recursively using wget. wget -r –no-parent https://this.is.example.com/site/
Short on diskspace? You can use ‘du’ to find largest files in your linux server using ‘du’ tool. du –total -sh /path/* Additionally you can also include a ‘threshold’ parameter to list only file larger than the unit which you’ve specified, by using “-t” parameter. Example, list files larger than 100MB du –total -sh […]
You can actually send Telegram message from command-line interface / bash in Linux using an unofficial “telegram-cli“ client by Vitali Valtman (vysheng) Obtaining and Compiling telegram-cli But first, before sending telegram messages, you need to build the client. You may start by installing its dependencies sudo git apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev […]
sudo is probably the most used command in Ubuntu. In this post, I will show you how to make ‘sudo’ display funny and humorous error messages in Ubuntu Linux. To do that, you would only need to edit the /etc/sudoers : sudo nano /etc/sudoers Then find the line that starts with Defaults env_reset, add insults […]
You can easily generate QR Code under Ubuntu using the command line ‘qrencode’ package. In Ubuntu 11.04 Natty Narwhal, you can install qrencode using this command: apt-get install qrencode To generate QR Code image, you only need to run this command: qrencode -l L -v 1 -o qrcode-test.png “Hello, World!” QR Code is a form […]
A nice twitter client for those who are working in CLI environment. Get twitter-cmdline. A Windows alternative is also available at : Twitter Windows Command Line Client. Alternatively you can try a cURL hack to post your update to twitter from command line. btw my twitter id is ‘mypapit’. Happy twittering.
Here is an easy way to convert Adobe Flash Video files (FLV) to MPEG-4 using a tool called flv2mpeg4. First you need to download flv2mpeg4 using svn from its project websites svn co https://vixynet.svn.sourceforge.net/svnroot/vixynet/trunk vixynet . Install ffmpeg, libavcodec-dev, libavformat-dev and libavutil-dev package read the docs and compile flv2mpeg4 You can convert flash video file […]