Skip to content
Main Menu
  • Home
  • About

Desk Shell

Technology Makes Life Better!

  • Home
  • About

Tag: linux

  • Home
  • linux
  • Page 2

the EDITOR and VISUAL environment variables

2021-07-152021-07-15 Leon Xie

I installed a Debian Linux OS today, but found that the default text editor is nano, which I am not familiar with. After searching how to set text editor using google, I got the solution. Two environment variables can be… Read More

bash, linuxbash, linuxLeave a comment

boilerplate code for Linux getopt

2021-05-042024-09-27 Leon Xie

Linux getopt command is often used to parse script options. I find a piece of boilerplate code for this command and mark it in this post for further reference. set -eu set +e options=$(getopt –name “demo.sh” -o “f:d” -l “file:,debug”… Read More

bash, linuxbash, getopt, linuxLeave a comment

disk block size vs filesystem block size

2021-04-182021-04-18 Leon Xie

In this post, I will briefly describe the differences between disk block size and filesystem block size. In the computer architecture, every byte in the main memory has a unique address. In x86 arch, the CPU can read 4 bytes… Read More

linuxblock, linux, stat1 Comment

extract files from rpm packages

2021-03-18 Leon Xie

These days I am developing a feature involving rpm packages. Sometimes I need to extract the files from the rpm package instead of installing it. I mark the command here for further reference. rpm2cpio demo.rpm | cpio -idmv

linux, rhellinux, rhel, rpmLeave a comment

install chrome in ubuntu and rhel linux

2021-02-032021-02-03 Leon Xie

Chrome is an excellent web browser nowadays. It is widely used by normal users and web developers in Microsoft Windows OS. Sometimes, it is also desirable to use Chrome in Linux OS. This post describes the steps to install Chrome… Read More

linuxchrome, linuxLeave a comment

bash command history

2020-12-17 Leon Xie

Yesterday morning after arriving at the office, I booted up my laptop as usual and tried to connect to my Linux development server using putty. However, the ssh connection couldn’t be established successfully. After struggling for a while, I found… Read More

bash, linuxbash, linuxLeave a comment

an introduction to policy-based routing in Linux

2020-12-142020-12-14 Leon Xie

A few days ago I was assigned a task to create pods with multiple network interfaces in the Kubernetes. It is not a difficult task, because it only requires a few annotations for the pods, provided that the CNI network… Read More

linux, routelinux, routeLeave a comment

list files in a package in ubuntu

2020-10-24 Leon Xie

The below command can be used to list files in a package in Ubuntu apt-file list <package-name> or dpkg -L <package-name> for example, apt-file list openjdk-8-doc or dpkg -L openjdk-8-doc

apt, linux, ubuntuapt, linux, ubuntuLeave a comment

a quick reference to Linux od command

2020-09-02 Leon Xie

Yesterday my colleague reported a software issue to me. I checked the application logic, but couldn’t find any clue. However, because the software hasn’t been touched for a long time and has passed the testing in the last release, I… Read More

linuxlinuxLeave a comment

fix ‘could not connect to display’ issue

2020-08-022020-08-02 Leon Xie

Today I tried to run foxit reader installer in my Ubuntu Linux as root account. I got the below error message: QXcbConnection: Could not connect to display After struggling for a while, I found the below solution that fix this… Read More

linux, ubuntulinux, ubuntuLeave a comment

Posts pagination

Previous 1 2 3 Next

Recent Posts

  • data consistence between cache and database — cache aside
  • an introduction to channels in golang
  • introduce curl command
  • two useful clients about ssh and vnc in ubuntu
  • variable indirect expansion in bash

Recent Comments

  • John on raw.githubusercontent.com的DNS记录被污染了
  • Anonymous on disk block size vs filesystem block size
  • Leon Xie on hello world

Archives

  • March 2024
  • February 2024
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • March 2022
  • February 2022
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • February 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018

Categories

  • ansible
  • apt
  • bash
  • certificate
  • curl
  • data-struct
  • database
  • debian
  • docker
  • etcd
  • git
  • golang
  • gradle
  • helm
  • iptables
  • java
  • jenkins
  • junit
  • jvm
  • kubernetes
  • linux
  • mariadb
  • maven
  • nginx
  • nodejs
  • npm
  • openssl
  • oracle
  • prometheus
  • python
  • redis
  • rhel
  • robot
  • route
  • rsa
  • springboot
  • sql
  • ssh
  • tls
  • tree
  • ubuntu
  • uncategorized
  • zookeeper

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © All rights reserved.
Education Mind by Axle Themes