Saturday, April 11, 2015

Basic Linux Commands -Part 3


 cal :        Display a calendar


Syntax:
                        cal [-mjy] [[month] year]
Options:
           -m         Display monday as the first day of the week.
            -j          Display julian dates (days one-based,numbered from Jan 1
           -y          Display a calendar for the current year.

 chgrp :   Change group ownership



Syntax :
                 chgrp [Options]... {Group | --reference=File} File...
Key :

          -c
          --changes
                    Verbosely describe the action for each File whose group actually changes.
          -f
         --silent
         --quiet
                   Do not print error messages about files whose group cannot be changed.
         -f
         --no-dereference
                   Act on symbolic links themselves instead of what they point to.
         --reference=FILE
                  Use the group of the reference FILE instead of an explicit GROUP.
         -v
        --verbose
                 Verbosely describe the action or non-action taken for every File.
       -R
       --recursive
                Recursively change the group ownership of directories and their contents.





No comments:

Post a Comment