Just some guy on the internet.

sudoedit /etc/blog

Working with files in Linux - File Attributes

In the previous two posts, we’ve looked at file permissions and access control lists. Today let’s take look at file attributes. Whereas, permissions and ACL’s deal with user and group access to a file, attributes are properties of a file that regulate how the operating system interacts with a given file. There are 15 file attributes: append only (a) , no atime updates (A) , compressed (c) , no copy on write (C) , no dump (d) , synchronous directory updates (D) , extent format (e) , immutable (i) , data journalling (j) , project hierarchy (P) , secure deletion (s) , synchronous updates (S) , no tail-merging (t) , top of directory hierarchy (T) , and undeletable (u) .

Working with Linux Files - Access Control Lists

In the last post, we looked at basic file permissions. The ideas covered in that post are probably enough to get you through a large portion of the real world scenario’s that you will encounter. There are some special cases, however. One of them being access control lists (ACL) which I will discuss in this post. Access Control List - ACL As we saw in part 1 every file on a Linux system has an owner and a group associated with it, each of which has separate permissions.

Working with files in Linux - Permissions

Over the next few posts I’ll be covering three basic elements of files in Linux: Permissions ACL’s (Access Control Lists) File Attributes The ls command Every file in Linux has three primary permissions settings (read, write, execute) that apply to three elements (owner, group, others). File permissions can be viewed on the command line using the ls command. [[email protected] stuff]$ ls -l total 0 -rwxrw-r-x 1 luke admins 0 Jun 21 19:44 file1 Looking at the output from ls -l , from left to right we can break the output into several groups as shown below.

School District finds cost savings and flexibility with Linux

Being a big proponent of Linux on the desktop I was excited to have the opportunity to talk with Aaron Prisk of the West Branch Area School District, who has recently helped migrate 80% of the school district’s infrastructure to Linux. When I first heard about the district’s move to Linux I wanted to find out as much as I could about his experiences during and after the migration. This is a great story about how Linux can be used by people of all ages and technical skill while still providing a low cost and secure platform for everyday operations.

Search and replace with Vim and Sed

Using search and replace is a great way to save time when editing large files in Linux. Becoming proficient with this task will increase your efficiency and will reduce your time spent doing tedious and error-prone file edits by hand. For the sake of this tutorial, I’m going to use a copy of the /etc/apt/sources.list file to illustrate some of the changes that we can make. From your users home directory copy the sources.

Command not found!

So you’re running through some instructions to configure software on your system, or troubleshoot some problem with a service and you see an error at the command line that says “command not found”. Here is how to locate the packages you need to install in order to use commands that are not available on your system. CentOS/Red Hat - yum provides Yum is an excellent package manager with lots of great built in functions.