Skip to Content
Practical Linux Security Cookbook
book

Practical Linux Security Cookbook

by Tajinder Kalsi
April 2016
Beginner to intermediate content levelBeginner to intermediate
276 pages
5h 32m
English
Packt Publishing
Content preview from Practical Linux Security Cookbook

Chapter 3. Local Filesystem Security

In this chapter, we will discuss the following:

  • Viewing file and directory details using the ls command
  • Changing the file permissions using the chmod command
  • Implementing access control list (ACL)
  • File handling using the mv command (moving and renaming)
  • Install and configure a basic LDAP server on Ubuntu

Viewing file and directory details using the ls command

The ls command is used to list files in a directory, and it is similar to the dir command in DOS. This command can be used with various parameters to give different results.

Getting ready

Since the ls command is a built-in command of Linux, we don't need to install anything else to use it.

How to do it…

Now, let's take a look at how we can use ls in different ways ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Linux Security Cookbook

Linux Security Cookbook

Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes

Publisher Resources

ISBN: 9781785286421Supplemental Content