Files and Directories

This chapter provides introductions and tutorial on file and directory management. Topics include commands to search and find files, read text files in different ways, split, join and truncate files, compress and restore files, archive and extract filesm.

"find" - Search for Files

"more", "head" and "cat" - Read Files

"split" and "cat" - Split and Join Files

Truncate Log Files

"compress/uncompress" - Compressed *.Z Files

"gzip/gunzip" - Compressed *.gz Files

"xz/unxz" - Compressed *.xz or *.lzma Files

"tar -c" and "tar -x" - Create and Extract Archive Files

"zip" and "unzip" - Create and Extract ZIP Files

"Operation not permitted" Error on macOS

Takeaways:

Table of Contents

 About This Book

 Introduction to Linux Systems

 Process Management

Files and Directories

 Running Apache HTTP Server (httpd) on Linux Systems

 Running Apache Tomcat on Linux Systems

 Running PHP Scripts on Linux Systems

 Running MySQL Database Server on Linux Systems

 Running Python Scripts on Linux Systems

 Conda - Environment and Package Manager

 GCC - C/C++ Compiler

 OpenJDK - Open-Source JDK

 Graphics Environments on Linux

 SquirrelMail - Webmail in PHP

 Tools and Utilities

 References

 Full Version in PDF/EPUB