Month: May 2016

Nothing in life is as important as you think it is, while you are thinking about it.

Linux – Sudoers

Dear readers, In this post, I am going to cover the sudoers in CentOS7. You all probably know that su means super user or substitute user and sudo means “do as su(per user)” ­čÖé If you login to the system as root user, you are allowed to run all of the commands. I will try…
Read more

Linux – Granting permissions

Hello all, In this blog, I am going to review file and folder permissions which are assigned to user , group and other objects.The very fundamental parameters that are needed to be considered when assigning permissions are User,Group,Others,Read,Write,Execute. In shortly, we can use ugo for user,group,others and rwx for read,write and execute. The table shown…
Read more

Linux – User & Group Basics 2

Hey dear readers, In this post, I am going to review user object creation, group object creation, group membership change tasks. The distribution I have setup is CentOS7. Firstly, I will create few user objects. The very basic command to achieve this task is to run “useradd┬áuser_logon_name” . As you see, the user is created…
Read more

Linux – User & Group Basics 1

Hey all, I am going to review basic user group management tasks such as user creation, group creation, group membership changes, the files where user,group objects are stored. I have a CentOS7 basic installation. Before jumping into hands-on’s, it should be good to remind┬áyou about /etc/passwd and /etc/group files. /etc/passwd file stores user informations created…
Read more

Linux ‘a flavor’ – “cut” command

Hello dear reader, If you want to extract data from a file, “cut” is probably the first command that┬ácomes to mind. Manual page for the┬ácommand can be displayed by using “man cut”. I will not review all of the options but the delimiter usage with -s option. The sample file is shown as below.