3k followers 0 articles/week
How do I unzip multiple / many files under Linux?

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?...

Fri Sep 27, 2024 23:09
Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )

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?...

Sat Sep 21, 2024 15:57
Linux turn OFF password expiration / aging

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...

Fri Sep 20, 2024 14:55
Linux / UNIX: DNS Lookup Command

How do I perform DNS lookup under Linux, UNIX, or Apple macOS (OS X) operating systems without using 3rd party websites for troubleshooting DNS usage? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux / UNIX: DNS Lookup Command appeared first on nixCraft.

Fri Sep 13, 2024 14:54
Linux Copy One Hard Disk to Another Using dd Command

How can I copy one hard disk to another using the dd, ddrescue, or dcfldd commands? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux Copy One Hard Disk to Another Using dd Command appeared first on nixCraft.

Tue Sep 10, 2024 00:30
Shell script to set up an LXD / Incus (Linux Containers) lab for testing purpose

LXD or Incus is a Linux operating system-level container system. You can build over 25+ Linux distros for testing, fun, and profit. You can even run GUI apps inside those containers and get output displayed back to your X display easily. For example, you can run Firefox in one Linux container for banking needs with custom add-ons, including specific...

Fri Aug 16, 2024 15:17

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account