Brief: Here are some tiny but useful Linux commands, terminal tricks and shortcuts that will save you a lot of time while working with Linux command line.

    Have you ever encountered a moment when you see your colleague using some simple Linux commands for tasks that took you several keystrokes? And when you saw that you were like, “Wow! I didn’t know it could have been done that easily”.

    In this article, I’ll show you some pro Linux command tricks that will save you a lot of time and in some cases, from plenty of frustration. Not only your friends or colleagues will ‘wow’ at you, it will also help you increase your productivity as you will need fewer keystrokes and even fewer mouse clicks.

    It’s not that these are Linux tips for beginners only. Chances are that even experienced Linux users will find some hidden gems that they were not aware despite using Linux for all these years.

    In any case, you learn Linux by experience, be it your own or someone else’s :)

    Cool Linux terminal tricks to save time and increase productivity

    PS: Takže finálne, potrebujete SWAP? Ak máte 4GB RAM a nepoužívate GIMP, Darktable, Krita, Wine či Virtualbox, tak ani nie, ale upravte si swappiness na nižšiu hodnotu, optimalne 1. Pokiaľ máte 8GB a viac, tak SWAP nepotrebujete.


      The swap tendancy is way to high in Linux Mint. You can reduce it by following these steps: -open a terminal en type: cat /proc/sys/vm/swappiness The tendancy is probably '60', what good is for servers but is to high for normal users  

    Príkaz v termináli:
    sudo xed /etc/sysctl.conf

    následne na koniec súboru pridajte:

    # Zníženie použitia swap na použiteľnú úroveň
    vm.swappiness=10

    Uložte a reštartujte počítač. The rule is: 1GB RAM or more: set the swappiness to 10 Less then 1GB: set the swappiness to 1   Okamzite vypnutie pomocou prikazu: sudo swapoff -a

    How good would it be if your iPod or your favorite portable MP3 player can support FLAC format? Unfortunately not. If you have a bunch of FLAC music files that you want to bring along in your journey, the best way is to convert them into MP3 format. Luckily, this is an easy task in Ubuntu, using SoundConverter.

    SoundConverter is an application for GNOME that can take in most audio format (Ogg Vorbis, AAC, MP3, FLAC, WAV, AVI, MPEG, MOV, M4A, AC3, DTS, ALAC, MPC, Shorten, APE, SID, etc…) and convert them to WAV, FLAC, MP3, AAC and Ogg Vorbis format.

    Installing SoundConverter

    SoundConverter requires the gstreamer ugly library to encode audio files into MP3 format.

    Step 1 – Get your email out of the .pst files.

    Install the readpst package.

    sudo apt-get install pst-utils

    Now create the directory where you will want the extract email files to be placed.

    mkdir pst-export

    Next execute the readpst command against a .pst file.

    readpst -D -M -b -o pst -export archive.pst

    UPDATE: Ian Major commented on a simpler solution. “Works great, after reviewing the options for readpst I changed the command line to be ‘readpst -M -b -e -o pst-export archive.pst’ which doesn’t import deleted messages, and outputs with the eml extension, which means the rename isn’t required.”

    Step 2 – Rename exported files

    The readpst command will export all your emails into a folder hierarchy that matches the previous folder hierarchy in Outlook. The only problem is that every email is exported as a numeric filename. The text document are .eml files but don’t have the .eml extension. Therefore, we need to recursively rename all the email files to add the .eml extension. Lots of other articles will have you create bash, python, perl or other scripts to do this. I actually found the easiest to be a single command line.

    find . -type f ! -iname '*.eml' -exec rename 's/([0-9]+)$/$1.eml/' {} \;

    What we are doing is finding all items that are files and do not already have a .eml extension. When we find these, we rename the file by adding the .eml extension.

    NOTE: Depending on how many emails you have to rename, this is not the fastest approach and may run quite a while.

    Step 3 – Import .eml files into Thunderbird

    It’s now time to import all those email files into Thunderbird to make them useful. I found that what worked best for me was to install the ImportExportTools plugin for Thunderbird and use it to bring everything in.

    Once you have installed the plugin it is time to use the tool. Inside Thunderbird, create a temporary local folder that we will use to house this mass of emails that you can later do what you please to get them where you want for their final location in Thunderbird.

    Right click the folder that you'll import in Thunderbird and choose the following menu path

    import/export –> import all messages from a directory –> just from the directory pick-just-from-the-directory

    Then choose the folder you exported all the .pst emails tools (pst-export). thunderbird-import-folder Now click open and sit back and wait while all your lovely emails you missed so much are made an active part of your new Thunderbird installation. Go get another cup of coffee and maybe a snack as this too will take a little bit to complete and you’re done.

    Strana 1 z 14

    © 201 René Frick. All Rights Reserved. Designed By Rcomputer

    Please publish modules in offcanvas position.