Skip to content

SysTutorials

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

  • QA

    Any good Web browser in command line in Linux?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    What suggested web browser in command line? This will be very useful for browsing the Internet from a command line via SSH. You may use Lynx, a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices, in Linux. Homepage: http://lynx.isc.org/ Lynx is a fully-featured World Wide Web (WWW) client for users…

    Read More Any good Web browser in command line in Linux?Continue

  • QA

    HDFS stays in safe mode because of reported blocks not reaching 0.9990 of total blocks

    ByEric Ma Mar 24, 2018Feb 9, 2019

    After a node failure and restarting the HDFS, the NameNode reports: “The reported blocks 1968810 needs additional 5071 blocks to reach the threshold 0.9990 of total blocks 1975856. Safe mode will be turned off automatically.” in the log. Why this happens? And how to fix it? About why the NameNode stays in the safe mode:…

    Read More HDFS stays in safe mode because of reported blocks not reaching 0.9990 of total blocksContinue

  • QA

    How to use iPhone to browse blocked websites in mainland China?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to use iPhone to browse blocked websites in mainland China? FYI: on iPhone, these 2 Apps are the favorite combination I am using for visiting blocked websites in mainland China: Check OpenVPN + Ovpn Spider: Free VPNs for iPhone Users for how to use them together. OpenVPN is for setting up OpenVPN VPN connection….

    Read More How to use iPhone to browse blocked websites in mainland China?Continue

  • QA

    Un-exporting an Exported Variable in Bash in Linux

    ByEric Ma Mar 24, 2018Jun 13, 2021

    How to un-export an imported variable in Bash on Linux? For example, first, I export a variable MODE like export MODE=debug but I want to unexport the MODE (not turn to be `””`, should be truly non-defined). You can export -n MODE or unset MODE For your reference (from the [`bash` manual](https://www.systutorials.com/docs/linux/man/1-bash/)): export [-fn] [name[=word]]…

    Read More Un-exporting an Exported Variable in Bash in LinuxContinue

  • QA

    How to disable the coredump function of systemd on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I do not want to have coredump for the developing machine using systemd on Linux? How to disable the coredump function of systemd? You can disable coredump function of systemd by adding this line Storage=none to /etc/systemd/coredump.conf For your reference: Storage= Controls where to store cores. One of “none”, “external”, “journal”, and “both”. When “none”,…

    Read More How to disable the coredump function of systemd on Linux?Continue

  • QA

    How to get the directory path and file name from a absolute path in Bash on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to get the directory path and file name from a absolute path in Bash on Linux? For example, with “/foo/bar/baz.txt”, it will produce: “/foo/bar/” and “baz.txt”. You also have the basename and dirname commands besides of the basename and dirname C API in Linux: [zma@laptop:~]$ p=”/foo/bar/baz.txt” [zma@laptop:~]$ dirname $p /foo/bar [zma@laptop:~]$ basename $p baz.txt

    Read More How to get the directory path and file name from a absolute path in Bash on Linux?Continue

  • QA

    How to automatically post blog RSS feed to Google plus pages?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    I have a blog with RSS feeds. Feeding to twitter and facebook is supported by many tools. But for the Google plus page, it seems not straightforward. How to automatically post blog RSS feed to Google plus pages? You can use Hootsuite to post blogs through RSS feeds to your Google plus pages. First, register…

    Read More How to automatically post blog RSS feed to Google plus pages?Continue

  • QA

    Maximum allowed file path length for C programming on Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    When programming in C on Linux, it is common to allocate a buffer for storing the full path of a file. How to get a safe maximum size for allocating buffers for file paths? The header <linux/limits.h> includes macros for the path and file name length limits. On my system (Fedora 41), it is located…

    Read More Maximum allowed file path length for C programming on Linux?Continue

  • QA

    What about the master branch for local git configuration in a git repository to make it track remote master branch?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    What about the master branch for local git configuration in a git repository to make it track remote master branch? You may append these lines to .git/config in your cloned repository directory: [branch “master”] remote = origin merge = refs/heads/master

    Read More What about the master branch for local git configuration in a git repository to make it track remote master branch?Continue

  • Linux | QA | Software | Tutorial

    Decrypting a Password Protected RSA Private Key

    ByEric Ma Mar 24, 2018Jul 23, 2021

    I got a password protected RSA private key with headers like (I have the password): —–BEGIN RSA PRIVATE KEY—– Proc-Type: 4,ENCRYPTED DEK-Info: AES-256-CBC,… How to decrypt a password protected RSA private key? You can use the openssl command to decrypt the key: openssl rsa -in /path/to/encrypted/key -out /paht/to/decrypted/key For example, if you have a encrypted…

    Read More Decrypting a Password Protected RSA Private KeyContinue

  • QA

    How to get a free Web server SSL/TLS certificates for my websites?

    ByEric Ma Mar 24, 2018Feb 28, 2020

    Can I get a non-self-assigned and free Web server SSL/TLS certificates for my https websites? Asking the users to accept the self-assigned SSL certificates for my websites is not very convenient. Please check https://letsencrypt.org/ . PS: StartSSL used to provide 1 year free SSL. But StartCom CA is closed since Jan. 1st, 2018.

    Read More How to get a free Web server SSL/TLS certificates for my websites?Continue

  • QA

    Good Cinnamon theme for Fedora 21 Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    Any suggestion on good theme configuration for Fedora 41 Linux? My favorite combination of Window borders, Icons, Controls, Mouse Pointer and Desktop is as follows. All packages and themes are from Fedora repository or the Cinnamon repository. Remember to set the cursor theme for QT application like Google Chrome following: https://www.systutorials.com/4068/configuring-mouse-cursor-style-for-qt-applications-in-gnome-mate-desktop/ For this configuration, the…

    Read More Good Cinnamon theme for Fedora 21 Linux?Continue

  • QA

    How to fix “Your profile could not be opened correctly.” on Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    I experience the program on Linux (Fedora 41) that Chrome reports “Your profile could not be opened correctly.” as follows. How to fix it? Restarting Chrome would not help. Removing the ‘Web Data’ directories from all profiles works for me (Making backup first as the commands will remove your files): cd ~/.config/google-chrome find ./ -name…

    Read More How to fix “Your profile could not be opened correctly.” on Linux?Continue

  • QA

    How to make Chrome on iPhone (iOS) accept self assigned ssl keys fir websites?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    This tutorial introduces how to make Chrome accept self assigned ssl keys for websites: https://www.systutorials.com/50204/making-chrome-accept-self-signed-certificates-on-linux/ However, on iPhone, Chrome blocks me from access sites with self assigned keys. How to make Chrome on iPhone also accept the ssl keys? At the time when I wrote this reply, there is no way to add Certificate Authorities…

    Read More How to make Chrome on iPhone (iOS) accept self assigned ssl keys fir websites?Continue

  • QA

    Good open-source and free scanner software for Windows?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Any suggestions on good open-source and free scanner software for Windows? NAPS2 (Not Another PDF Scanner 2) is my favorite opensource scanner software on Windows: http://naps2.sourceforge.net/ Scan documents to PDF and other file types, as simply as possible. NAPS2 is a document scanning application with a focus on simplicity and ease of use. Scan your…

    Read More Good open-source and free scanner software for Windows?Continue

  • QA

    How to force a website to use https by htaccess settings?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I would like my site to be accessed by https only. How to force a website to use https by htaccess settings by redirecting http requests to the corresponding https ones? You can check the method of redirecting http to https at: https://www.systutorials.com/qa/1033/how-to-redirect-http-to-https-in-apache-with-mod_rewrite If you would like to have a 301 redirect, you can use…

    Read More How to force a website to use https by htaccess settings?Continue

  • QA

    How to redirect STDOUT of sudo command on Linux and write to file as root?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    A try like the following command failed $ sudo echo “echo hello” > /usr/local/bin/hello with an message bash: /usr/local/bin/hello: Permission denied It seems the writing to the file is executed under the non-root user. How to redirect STDOUT of sudo command on Linux and write the content to the file (/usr/local/bin/hello here) as root? You…

    Read More How to redirect STDOUT of sudo command on Linux and write to file as root?Continue

  • QA

    How to allow non-root users on Linux to mount and unmount disks?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    On a Linux box, we may allow non-root users mount and umount certain disks, such as /dev/sde1. How to allow non-root users on Linux to mount and unmount disks? Please check the tutorial at Controlling Filesystem Mounting on Linux by Playing with /etc/fstab: Allow non-root users to mount and unmount filesystems.

    Read More How to allow non-root users on Linux to mount and unmount disks?Continue

  • QA

    How can I recover data from my crashed hard drive?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    My laptop’s hard drive crashed. I went to someone else and got the hard drive replaced, but they could not recover my data. You may try PhotoRec as for https://www.systutorials.com/qa/1399/how-can-i-recover-deleted-photos-from-samsung . Although its named with “Photo”, PhotoRec can recover many kinds of files as listed in http://www.cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec .

    Read More How can I recover data from my crashed hard drive?Continue

  • QA

    How to check whether a USB disk is connected to a Linux server?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I can only connect to a Linux server by SSH. How to check whether a USB disk is connected to the Linux server? 2 ways I usuaully use: Method One: Check the print out of dmesg After the USB storage is connected and detected by Linux, it may print some messages containing “[sde]” (the new…

    Read More How to check whether a USB disk is connected to a Linux server?Continue

Page navigation

Previous PagePrevious 1 … 26 27 28 29 30 … 70 Next PageNext

© 2026 SysTutorials

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