Software

Add to archive (Tar) files by mask

In Linux (Debian, Ubuntu) it’s very cool to use bash and command line. Recently I wanted to add to archive approximately 3000 ‘jpg’ files, which were named like ‘test_2024_06_10 11:22:00’. I didn’t want to select so many files manually, so I did it from command line. This is how my command line text looked like: Read more»

Linux

Extend Windows Server trial

Windows

For local development I often need Windows server and I use trial version. As six months came through, I need to buy or extend it. Of course, I prefer to extend 🙂 Open PowerShell as administrator and execute the command: slmgr -rearm To continue the trial for your Microsoft Office, you can use OSPPREARM.EXEcd %SystemDrive%\Program […] Read more»

Windows

Run PostgreSQL in Docker

To Run PostgreSQL in Docker I use an official image ‘postgres’ from https://hub.docker.com/_/postgres. You can start it as it’s described in the documentation, but I prefer to use docker-compose. For me it’s more flexible and allows to avoid of errors when start form command line. Read more»

Web server

Add new value to $PATH variable in Linux (Debian, CentOS, Ubuntu)

With SSH you sometimes need to add new value to the $PATH variable. When your application is not in the directory, which exists in the $PATH array. If you don’t want to write down the full path in the command line, for example, ‘/home/user/myapps/makephoto’, you can add ‘/home/user/myapps/’ to $PATH and then you can execute […] Read more»

Linux

Popular Posts