Tuesday, 30 June 2020

Using the Linux ‘find’ command with multiple filename patterns

Someone asked me the other day how they could search for files with different names with one Linux find command. They wanted to create a list of all files that ended with the extensions .class and .sh. Although this is actually very easy to do with the find...

Saturday, 27 June 2020

Linux ‘locate’ command examples

Linux FAQ: Can you share some examples of how to use the Linux locate command? Background Sure. The locate command is used to find files by their filename. The locate command is lightning fast because there is a background process that runs on your system that continuously finds...

Thursday, 25 June 2020

Linux ‘find’ command recipes

Thinking about my own work when using Linux and Unix systems, a lot of the work is based around files, and when you're working with files, tools like the Linux find command are very helpful. So, I've decided to put together this list of find command examples/recipes that...

Tuesday, 23 June 2020

Soft and Hard links in Unix/Linux

A link in UNIX is a pointer to a file. Like pointers in any programming languages, links in UNIX are pointers pointing to a file or a directory. Creating links is a kind of shortcuts to access a file. Links allow more than one file name to refer...

Saturday, 20 June 2020

Linux Essentials: Overview

Linux adoption continues to rise world-wide as individual users, government entities and industries ranging from automotive to space exploration embrace open source technologies. This expansion of open source in enterprise is redefining traditional Information and Communication Technology (ICT) job roles to require more Linux skills. Whether you’re starting...

Thursday, 18 June 2020

Cat command in Linux with examples

Cat(concatenate) command is very frequently used in Linux. It reads data from the file and gives their content as output. It helps us to create, view, concatenate files. So let us see some frequently used cat commands. 1) To view a single file Command: $cat filename Output It...

Tuesday, 16 June 2020

The Linux file command

Linux file information FAQ: How can I tell what type of file a file is on a Unix or Linux system? The Linux file command shows you the type of a file, or multiple files. It's usually used when you're about to look at some type of file...

Saturday, 13 June 2020

comm command in Linux with examples

comm compare two sorted files line by line and write to standard output; the lines that are common and the lines that are unique. Suppose you have two lists of people and you are asked to find out the names available in one and not in the other,...

Thursday, 11 June 2020

TDC teaches how to deliver a vibrant interactive experience

How does a conference make the transition to virtual participation in the age of the COVID-19 virus? And suppose you have less than two months to do so? As social distancing loomed as a dire necessity in February and March 2020, many organizations simply threw up their hands...

Tuesday, 9 June 2020

How to use the Linux 'lsof' command to list open files

Linux “open files” FAQ: Can you share some examples of how to show open files on a Linux system (i.e., how to use the lsof command)? lsof command background The Linux lsof command lists information about files that are open by processes running on the system. The lsof...

Saturday, 6 June 2020

Sed Command in Unix and Linux Examples

Sed is a Stream Editor used for modifying the files in unix (or linux). Whenever you want to make changes to the file automatically, sed comes in handy to do this. Most people never learn its power; they just simply use sed to replace text. You can do...

Thursday, 4 June 2020

Linux gzip: How to work with compressed files

If you work much with Unix and Linux systems you'll eventually run into the terrific file compression utilities, gzip and gunzip. As their names imply, the first command creates compressed files (by gzip'ing them), and the second command unzip's those files. In this post I take a quick...

Tuesday, 2 June 2020

The Linux 'rm' command (remove files and directories)

Linux FAQ: How do I delete files (remove files) on a Unix or Linux system? The Linux rm command is used to remove files and directories. (As its name implies, this is a dangerous command, so be careful.) Let's take a look at some rm command examples, starting...

Pages (26)1234567 »