Mount ssh filesystems under Linux or how I mounted my webspace into my root server

Today I had to mount a ssh filesystem under Linux. The reason was, that I had the perception that I would be a very cool idea, to use my old webspace package from all-inkl.com, that I only kept because of the 10 included domains, as a backup storage for my root server.The plan was to […]

Mount ISO file under Ubuntu Linux

Today I had the challenge, that I wanted to copy a DVD and  play it with the VLC media player (http://www.videolan.org/vlc/index.html). Therefore I had to learn how to mount iso file(s) under Linux. In my case it was Ubuntu 16.04.1. (see also my article about how to get your Linux distribution and version). How to […]

Search query: list files containing a certain term

To get a list of files that contain a certain term for the current directory you can use this command to find the search query: $> grep -lr SEARCHTERM This shell command searches the current directory recursively (-r) and lists (-l) all files containing the search query SEARCHTERM. SEARCHTERM can also be a regular expression. Example result: […]

Convert linefeeds for all files in a folder (CRLF to LF)

If you are working in teams using different operating systems, it could happen, that you get files with unsuitable linefeeds in it. For me as a Linux user the bad guys are normally CRLF’s (Carriage Return and Line Feed @see https://en.wikipedia.org/wiki/Newline). To just convert the CRLF’s in a single file to LF you can use the […]

Flatten directory structure

Recently I brought a mp3 player that wasn’t able to shuffle the track through all folders. That’s why I had to bring all tracks to the root directory of the player (flatten directory structure). I did it with the following command, that flattens the whole structure by searching all files in the structure and copying […]