Aikataulu – Linux palvelimet ict4tn021-3010 torstai aamu – alkukevät 2020 – 5 op

English: Learn to manage your own Linux server – in 8 weeks. Beginners welcome. Student feedback excellent 4.7 out of 5. Course is in Finnish.

Posted in Courses | Tagged , , , , , , , , , , , , , , , | Comments Off on Aikataulu – Linux palvelimet ict4tn021-3010 torstai aamu – alkukevät 2020 – 5 op

Convert Vector EPS Images to PNG Bitmap

Mogrify can convert hundreds of images with a single command. To get decent quality bitmap PNG from vector EPS, you must set the density parameter. $ mogrify -format png -density 300 -resize 1024 *.eps

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Convert Vector EPS Images to PNG Bitmap

New Default Website with Apache2 – Show your homepage at top of example.com, no tilde

Install the most popular web server in the world, Apache. Put your homepage on a simple URL, like http://example.com. You don’t need tilde or username (no http://example.com/~tero)

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | 4 Comments

Logging in Python – with function names, line numbers, command line -v -d and aliases v(), d()

Logging is tells you what’s going on when your run and often avoids useless comments. Log messages give you a real time feeling what’s happening in the program. And your advanced users might want to run ‘supercommand –debug’, too. This … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Logging in Python – with function names, line numbers, command line -v -d and aliases v(), d()

Volume Control and Output Selection with PulseAudio Command Line Tools

This article shows you commands to control volume and move playback streams to different outputs. For example, you can move VLC sound from laptop headphones to external HDMI monitor speakers while the stream is playing. You can do all these … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Volume Control and Output Selection with PulseAudio Command Line Tools

Forensic File Recovery with Linux – Undelete

Want your deleted files back? Plan A: have backups. Plan B: take a disk image and use a tool to undelete your files. If you are doing forensic analysis, file recovery is your only option. Prequisites: fluency with the command … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , | Comments Off on Forensic File Recovery with Linux – Undelete

Print PDF from Command Line – cups-pdf, lpr -P PDF

After installing cups-pdf, you can print to file with ‘lpr -P PDF’. Install PDF printer $ sudo apt-get -y install cups-pdf List printer names that lpr can understand $ lpstat -p -d printer deadtree is idle.  enabled since 2011-06-22T08:09:05 EEST … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments

32 bit Linux can see 8 GB of memory

In some operating systems, you can only see a little under 4 GB of RAM with a 32 bit OS. It’s a common myth that this would be the case with Linux too. In Linux, you can see your whole … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on 32 bit Linux can see 8 GB of memory

Shared Folder with chmod SetGID

How do you share a folder in Linux? Especially, how can you get write permission to files other users have created? You should know command line before starting with this article. Knowing the basics of chmod (or see ‘man chmod’) … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Command Line Basics

Table of Contents Command Line Basics Moving and looking around Relative and Absolute Path File Manipulation SSH Remote Control Help History and Guessing Usefull commands Important directories What Next? Command Line Basics Below, dollar sign “$” is the normal user … Continue reading

Posted in Old Site | Tagged , , , | 40 Comments