Glen Knight

NYC Based IT Professional

Links in the Linux File System

Hard Link vs Soft Link – a hard link is a file linked directly to an inode(a data structure on a file system that stores all the information about a file except its name and its actual data), while a soft/symbolic link is a link to another name in the file system. Deleting/renaming/moving the original […]

0 Comments

Read More

Reading From Files Using The Linux CLI

We can read from files using the cat command and the output is written to STDOUT. We can also use a pipe and redirect output elsewhere [glen.knight@expert-syn-srv-1 t1]$ cat f1 hello We can count the number of lines in a file using the command wc -l [glen.knight@expert-syn-srv-1 t1]$ wc -l /etc/services 11176 /etc/services We can […]

0 Comments

Read More