Tancredi-Paul Grozav

about me and what I do

Menu
  • Home page
  • Tancredi-Paul Grozav
  • Informatics
    • Languages
      • PHP
      • C++
        • Qt
      • qooxdoo
      • LaTeX
      • Python
      • three.js
    • Linux
      • Script
      • Programs
    • OpenBSD
    • Windows
    • Robotics

Category: Linux

The linux operating system

/sys/firmware/efi/vars/OsIndicationsSupported bug ?

By Tancredi-Paul Grozav
|
2018-05-03
| No Comments
| Informatics, Linux, Programs, Script

I found /var/lib/dpkg/lock locked, so I looked for instances of apt through ps faux and found this: [bash] root 22549 0.0 0.0 4288 688 ? Ss 06:57 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install root 22553 0.0 0.0 4288 1512 ? S 06:57 0:00 \_ /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install root 22584 0.0 0.5 156364 93128 ? S 06:57 […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Artix Linux

By Tancredi-Paul Grozav
|
2018-04-13
| No Comments
| Linux

This is a relative small and new distribution that comes from Arch Linux and is influenced by Gentoo. Since things are continuously changing, the info below might become obsolete. Installing According to https://forum.artixlinux.org/index.php/topic,41.0.html : You boot the iso, then check that you have a working internet connection(ping google.com or something). You use fdisk to partition […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Compiling C/C++ code with GCC

By Tancredi-Paul Grozav
|
2018-03-09
| No Comments
| C++, Linux, Programs, Script, Uncategorized

The GNU Compiler Collection They say that “On many systems, g++ is also installed with the name c++“. # Compile a C++ file into an object file:g++ -c main.cpp -o main.o# Link object file(s) into shared library:g++ -shared math.o -o libmath.so# Link object file(s) into static library:ar qcs libmath.a math.o# Link object files, static libraries […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Q(uick) Emu(lator)

By Tancredi-Paul Grozav
|
2018-03-09
| No Comments
| Linux, OpenBSD, Programs

Create HDD: [bash] qemu-img create -f qcow2 EHC.avi 64G [/bash] Install from iso: [bash] qemu-system-x86_64 -hda EHC.avi -cdrom ~/data/red/Win7.32and64.iso -m 512M [/bash] Start VM: [bash] qemu-system-x86_64 -m 512M -hda EHC.avi [/bash] Suspend VM to file(while running) – IS THIS WORKING?: i guess not 😐 ctrl+alt+2 [bash] savevm /path/to/save.file [/bash] Resume VM from file(at start) – […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

C++ e-mail with libcurl

By Tancredi-Paul Grozav
|
2017-12-20
| No Comments
| C++, Informatics, Languages, Linux, OpenBSD

C way: [cpp] #include <stdio.h> #include <string.h> #include <curl/curl.h> /* * For an SMTP example using the multi interface please see smtp-multi.c. */ /* The libcurl options want plain addresses, the viewable headers in the mail * can very well get a full name as well. */ #define FROM_ADDR "<user1@example.com>" #define TO_ADDR "<user2@example.com>" #define CC_ADDR […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

ESXI CLI management

By Tancredi-Paul Grozav
|
2017-12-19
| No Comments
| Linux, Programs

List running machines: [bash] esxcli vm process list [/bash]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Conan C/C++ Package Manager

By Tancredi-Paul Grozav
|
2017-11-22
| No Comments
| C++, Informatics, Languages, Linux, Programs, Script, Uncategorized, Windows

Work In Progress Useful commands: [code language=”bash”]# List remotes conan remote list # Add remote conan remote add <remote_name> http://localhost:9300 # Remove remote conan remote remove <remote_name> # List all recipes in remote conan search -r <remote_name> # A recipe looks like: # cool_soft/0.1@michael/stable # And it contains 4 fields: A/B@C/D # These fields are: […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Docker commands

By Tancredi-Paul Grozav
|
2017-11-21
| No Comments
| Informatics, Linux, OpenBSD, Programs, Robotics, Script, Windows

A container is an instance of an image. An image is created by running a recipe. Install : https://docs.docker.com/engine/installation/linux/docker-ce/debian/ Check this docker hub repo: https://hub.docker.com/explore/ List of useful docker commands: # Show available docker imagesdocker images # Download imagedocker pull debian # Delete imagedocker image rm <IMAGE_ID> # Show containersdocker ps -a # Create container […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

processes and proc filesystem

By Tancredi-Paul Grozav
|
2017-06-28
| No Comments
| Linux, OpenBSD

Work In Progress (not only) For system administrators ! Not all the content from this document applies to OpenBSD. Processes Print all processes: # ps faux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND … paul 12648 0.1 0.7 527000 62676 ? Sl Jun10 9:37 konsole paul 12656 0.0 0.0 24672 6640 […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Upgrade Debian to another major version

By Tancredi-Paul Grozav
|
2017-06-26
| No Comments
| Linux

[bash]# Get list of new packages apt-get update # Install newer versions of packages apt-get upgrade # Besides upgrade, also handles changing dependencies with new versions apt-get dist-upgrade # Performs database sanity and consistency checks dpkg -C # List of packages on hold apt-mark showhold # Backup and replace debian version cp /etc/apt/sources.list /etc/apt/sources.list_jessie sed […]

Read More »

Posted in %1$s Tagged %1$s Leave a comment

Posts navigation

1 2 … 6 Next

Powered by WordPressTancredi-Paul Grozav 2019 | All Rights Reserved.

Cookies

This website uses cookies to improve your experience. We'll assume you're O.K. with this. Find out more!