cyberciti.biz

VN:F [1.9.22_1171]
Rating: 6.0/10 (2 votes cast)

online community of new and seasoned Linux / Unix sysadmins.

How to run Docker inside Incus containers

18 December 2024 @ 5:44 am

See all FFmpeg command releated tutorials Incus and Docker both use Linux kernel features to containerize your applications. Incus is best suited when you need system-level containers that act like traditional VMs and provide a persistent developer experience. On the other hand, Docker containers are ephemeral, i.e., temporary in nature. All files created inside Docker containers are lost when your Docker container is stopped or removed unless you stored them using volumes in different directories outside Docker. Docker is created as a disposable app deployment system. Incus containers are not typically created as disposables, and data is kept inside

MySQL Change root Password Command

9 December 2024 @ 4:19 pm

See all MySQL Database Server related FAQ How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like like operating system over the ssh session? Love this? sudo share_on: Twitter - Facebook - Link

How to enable mouse to copy & paste in vim

28 November 2024 @ 1:44 pm

See all VI / Vim text editor related FAQs/HowTos Some Linux distro like Debian or specific BSD variants provide very little configuration support for mouse out of the box for Vim. Let us see how to paste in Vim using a mouse by enabling support, which is useful for new developers and sysadmin coming from Windows background. Love this? sudo share_on: Twitter -

How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage

27 November 2024 @ 7:07 pm

See all Debian/Ubuntu Linux related FAQ Do you need to keep track of the network traffic (bandwidth) usage for the Network interface controller (NIC) of your Debian Linux-based cloud or bare metal server? Look no forward. Try the vnStat, a free and open-source console-based network traffic monitor that keeps a log of 5-minute intervals, hourly, daily, monthly, and yearly network traffic for the selected interface. Once installed, vnStat can be used even without root permissions on most systems. Love this? sudo share_on:

How to find hard disk (SSD) serial numbers in Linux

16 November 2024 @ 9:38 pm

See all GNU/Linux related FAQ You need to use the smartctl command to display the hard disk (SSD) serial numbers in Linux. This is useful when changing your hard disk if it goes bad. Love this? sudo share_on: Twitter - Facebook -

How to install kvm-ok on Debian or Ubuntu Linux

16 November 2024 @ 6:54 am

See all Linux Kernel Based Virtual Machine related FAQs/Howtos The KVM-ok command command will tell you if your Debian or Ubuntu Linux-powered server can host hardware-accelerated KVM virtual machines. KVM (Kernel-based Virtual Machine) is a free and open-source virtualization technology that is used with every Linux kernel. In other words, KVM will make your Linux computer into a hypervisor, allowing you to run multiple isolated virtual machines (VMs) on a single physical machine. However, KVM depends upon CPU hardware virtualization extensions like Intel VT-x or AMD-V to provide high-performance virtual machines. This support must be enabl

zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix

1 November 2024 @ 8:34 pm

zcommands Read gzip Compressed Text Files On a Fly on Linux and Unix Linux and Unix like operating systems comes with z* commands. These commands allow you to read gzip compressed text files using zless, zcat, zmore, and friends commands. The gzip command reduces the size of the files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz while keeping the same ownership modes, access, and modification times. z* commands have some cool usage too, such as display the current time in different zonename. Love this? sudo share_on:

How do I unzip multiple / many files under Linux?

27 September 2024 @ 7:56 pm

See all Troubleshooting related FAQ I have lots of files in a directory called /disk2/images/. All files are in zip file format, so I am using the following command to extract zip files:      unzip *.zip The command result into an error which read as follows:      caution: filename not matched How do I unzip multiple or many zip files under a Linux/Unix-like system? Love this? sudo share_on:

Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )

21 September 2024 @ 12:33 pm

See all GNU/Linux related FAQ Most Linux and UNIX-like system configuration files are documented using comments, but sometimes I just need to see a line of configuration text in a config file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file? How can I strip out comments and blank lines on a Linux or Unix-like system? Love this? sudo share_on: Twitter -

Linux turn OFF password expiration / aging

20 September 2024 @ 11:46 am

The /etc/shadow file stores the actual password in encrypted format using a hash (salted) function for the user's account with additional properties related to the user passwords, such as password expiration date or password aging. The /etc/passwd stores usernames and their properties, such as home directory, login shell, and more. The password expiration information for a user is contained in the last six fields. The Linux password expi