Skip to content

SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search
SysTutorials

  • Linux | Software | Tutorial

    How to enlarge root partition and filesystem size of cloud Linux VM at runtime without rebooting Linux

    ByEric Ma Dec 29, 2018Mar 30, 2026

    It is common that the root disk space is not enough when running a Virtual Machine in the cloud such as Amazon Web Service (AWS). The cloud storage usually provides tools or facilities to enlarge a virtual disk size. However, to make the Linux recognize and and use the enlarged disks without rebooting the OS,…

    Read More How to enlarge root partition and filesystem size of cloud Linux VM at runtime without rebooting LinuxContinue

  • Computing systems | Insights | Systems

    Do big data stream processing in the stream way

    ByEric Ma Nov 27, 2018Nov 21, 2019

    Reading: Years in Big Data. Months with Apache Flink. 5 Early Observations With Stream Processing: https://data-artisans.com/blog/early-observations-apache-flink. The article suggest adopting the right solution, Flink, for big data processing. Flink is interesting and built for stream processing. The broader view and take away may be to solve problems using the right solution. We saw many painful…

    Read More Do big data stream processing in the stream wayContinue

  • Linux | Network | Software | Tutorial

    How to synchronize Google Drive and Google Docs files in Ubuntu/Debian/Mint Linux using Insync

    ByEric Ma Nov 25, 2018Mar 30, 2026

    Google Drive is a nice cloud storage service. It provides a suite of nice online document spreadsheet and slide editors Google Docs, Google Sheets and Google Slides. The collaborative editing and full history tracking features of Google Docs are excellent. Google Drive gives 16GB free storage which is pretty much larger compared to other free…

    Read More How to synchronize Google Drive and Google Docs files in Ubuntu/Debian/Mint Linux using InsyncContinue

  • QA | Tutorial

    How to rename a branch name in the remote git server?

    ByQ A Nov 15, 2018Nov 22, 2019

    How to rename a branch name in the remote git server? For example, I made a mistake to push a branch named ood-name to the git server while I intended to name it old-name. How to rename the branch name ood-name on the remote git server? You may change the remote git server’s branch name…

    Read More How to rename a branch name in the remote git server?Continue

  • Tutorial

    How to get date and time from another timezone in Python?

    ByQ A Sep 19, 2018Aug 9, 2020

    How to get the date and time from another timezone in Python? You may use the pytz library. Example usage as follows. $ python3 Python 3.8.2 (default, Jul 16 2020, 14:00:26) >>> from datetime import datetime >>> import pytz >>> >>> print(datetime.now(pytz.timezone(‘Europe/Amsterdam’)).strftime(‘%Y-%m-%d %H:%M:%S %Z%z’)) 2020-08-09 15:50:00 CEST+0200 >>>

    Read More How to get date and time from another timezone in Python?Continue

  • QA | Tutorial

    How to enable user themes in Ubuntu 18.04?

    ByQ A Sep 14, 2018Mar 30, 2026

    The way for Ubuntu 17 to installing the gnome-shell-extensions package does not work any more for Ubuntu 24.04 LTS. How to enable user themes in Ubuntu 24.04 LTS? The updated gnome-shell-extensions package actually adds the User Theme extension back. You can use that. First, install the package sudo apt install gnome-shell-extensions Second, log out and…

    Read More How to enable user themes in Ubuntu 18.04?Continue

  • QA | Tutorial

    How to get date and time using date command from another timezone in Linux?

    ByQ A Sep 14, 2018Nov 22, 2019

    date command on Linux gets the date and time in the system timezone. But how to get date and time using date command from another timezone in Linux? You can make date print the time of another timezone by setting the TZ environment variable. For example, export TZ=Hongkong; date Sat Dec 1 09:39:13 HKT 2018…

    Read More How to get date and time using date command from another timezone in Linux?Continue

  • Tutorial

    How to detach a docker container to be a running daemon?

    ByQ A Aug 20, 2018Aug 9, 2020

    If I quite a docker instanced (invoking /bin/bash) by Ctrl+d, the docker container is closed. How to detach a docker container to be a running daemon without closing it? Docker has a detach sequence, which, by default, is Ctrl-p + Ctrl-q. If the docker detach sequence is overridden by the –detach-keys=”<sequence>” flag, you need to…

    Read More How to detach a docker container to be a running daemon?Continue

  • QA | Tutorial

    Fixing the huge emoji icons in Unbuntu 18.04 for Thunderbird

    ByQ A Aug 8, 2018Mar 30, 2026

    In Ubuntu 24.04 LTS, Thunderbird shows huge emoji icons in the email list. The emoji covers other text and is several lines higher and wider than other charactors. How to solve it? This is likely caused by the fonts. Find out the *emoji* fonts installed in your system by sudo apt list *emoji* and remove…

    Read More Fixing the huge emoji icons in Unbuntu 18.04 for ThunderbirdContinue

  • QA | Tutorial

    How to change the logo shown during booting in Ubuntu?

    ByQ A Jul 31, 2018Jun 20, 2020

    How to change the logo shown during booting in Ubuntu? I originally installed Ubuntu MATE 18.04. But I am using GNOME 3 now by replacing the DE. But the log shown during booting is still Ubuntu MATE’s. How to change it to another one? It is plymouth the application that manages the “splash” screen during…

    Read More How to change the logo shown during booting in Ubuntu?Continue

  • QA | Tutorial

    GNOME 3 "Natural scrolling" mouse option does not work

    ByQ A Jul 31, 2018Nov 22, 2019

    In GNOME 3 “Settings” -> “Devices” -> “Mouse & Touchpad”, after setting “Natural scrolling” to On, the scrolling is still as the same before (non-natural). How to fix this? This is likely related to the X11 driver. Remove the xorg-x11-drv-synaptics driver if it is installed. And install the xorg-x11-drv-libinput driver if it is not installed….

    Read More GNOME 3 "Natural scrolling" mouse option does not workContinue

  • QA | Tutorial

    How to install GNOME 3 in Ubuntu MATE 18.04?

    ByEric Ma Jul 31, 2018Nov 21, 2019

    How to install the GNOME 3 (gnome-shell) desktop environment in Ubuntu MATE 18.04? To install gnome3 to Ubuntu, install these packages sudo apt install gnome-session gdm3 ubuntu-desktop During installation, the installation tools will let you choose the default display manager. You may choose gdm3. Then reboot you Ubuntu Linux and gdm3 will be shown. Click…

    Read More How to install GNOME 3 in Ubuntu MATE 18.04?Continue

  • Linux | QA | Tutorial

    Installing Zlib from Source Code in Ubuntu Linux

    ByEric Ma Jul 26, 2018Mar 30, 2026

    Zlib is a widely-used open-source compression library that implements the DEFLATE algorithm. It underpins gzip, PNG, HTTP compression, and countless software packages. While Ubuntu’s package manager provides a ready-to-use zlib, building from source gives you the latest version, the ability to set a custom install prefix, and full control over compile-time options. This guide covers…

    Read More Installing Zlib from Source Code in Ubuntu LinuxContinue

  • QA | Tutorial

    How to add Chinese input method to Unbuntu 18.04?

    ByQ A Jul 26, 2018Nov 22, 2019

    How to add Chinese input method, such as Pinyin, to Unbuntu 18.04? To input Chinese, first install an input method framework. Here, we use fcitx. Then you need to input the Pinyin input method. You may use fcitx-sunpinyin. Put them all together $ sudo apt-get install fcitx fcitx-sunpinyin After that, set the default input method…

    Read More How to add Chinese input method to Unbuntu 18.04?Continue

  • Software | Tutorial

    Thunderbird Addons to Make Thunderbird Easier to Use

    ByEric Ma Jul 8, 2018Nov 21, 2019

    Thunderbird is powerful and feature rich. But different users have different needs and it is not feasible to include all features into the base software, where a plugin system shines. Thunderbird, similar to Firefox from Mozilla, supports addons/plugins and has a large ecosystems. Here, we will introduce several addons to Thunderbird that make Thunderbird easier…

    Read More Thunderbird Addons to Make Thunderbird Easier to UseContinue

  • Programming | Tutorial

    How to test a file or directory exists in Go?

    ByEric Ma Jul 1, 2018Apr 2, 2020

    How to test a path (a file or directory exists) in golang? In Bash, the [ -e ] tests can test whether a file or a directory exist. What are the corresponding Go ways for the test? You can use the `os.Stat()` and `os.IsNotExist()` standard libraries functions together to test whether a file or a…

    Read More How to test a file or directory exists in Go?Continue

  • QA | Tutorial

    File system Inode flags: difference between FS_IOC_GETFLAGS and FS_IOC_FSGETXATT

    Bysameerkhurd Jun 13, 2018Oct 9, 2020

    What is the difference between FS_IOC_GETFLAGS and FS_IOC_FSGETXATTR ioctl commands? What flags do both return? The comment in fs.h is clear enough to explain itself. In short, FS_IOC_GETFLAGS was for ext2/ext3 only, and FS_IOC_FSGETXATTR is a generic FS level interface. Full comment as follows for your reference (source): /* * Inode flags (FS_IOC_GETFLAGS / FS_IOC_SETFLAGS)…

    Read More File system Inode flags: difference between FS_IOC_GETFLAGS and FS_IOC_FSGETXATTContinue

  • QA | Tutorial

    Port forwarding on local host

    ByQ A Jun 4, 2018Nov 22, 2019

    I am trying to forward UDP port 500 to 2500 on local host, but can’t get this to work – I have run: iptables -t nat -A PREROUTING -p udp -d 192.168.1.10 –dport 500 -j DNAT –to-destination 192.168.1.10:2500 iptables -A FORWARD -p udp -d 192.168.1.10 –dport 2500 -j ACCEPT where 192.168.1.10 is the IP of…

    Read More Port forwarding on local hostContinue

  • Tutorial

    How to convert a string to lower case in Python?

    ByQ A Jun 1, 2018Nov 22, 2019

    How to convert a string to lower case in Python? For example: “Abc” -> “abc” “BBB” -> “bbb” “abc” -> “abc” You can use the string.lower() method of Python: string.lower(s) Return a copy of s, but with upper case letters converted to lower case. Example: $ python Python 2.7.5 (default, Apr 11 2018, 07:36:10) [GCC…

    Read More How to convert a string to lower case in Python?Continue

  • QA | Tutorial

    System Call Tracking without ptrace,strace,etc.

    ByQ A May 11, 2018Nov 22, 2019

    How could I log system calls made by another process without using current built in functions like ptrace, strace, audit etc. I think two options are intercepting the system call table, and another is modifying the entry_64.s file. I want to output these system calls to a file. Can’t find any suggestions on this anywhere….

    Read More System Call Tracking without ptrace,strace,etc.Continue

Page navigation

Previous PagePrevious 1 … 6 7 8 9 10 … 70 Next PageNext

© 2026 SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search