Sponsored Content
Full Discussion: Which Do I Do First?
Top Forums UNIX for Beginners Questions & Answers Which Do I Do First? Post 303002901 by bakunin on Monday 4th of September 2017 03:44:24 PM
Old 09-04-2017
Quote:
Originally Posted by split_func0
Do I First of all Learn how to navigate through the system and have a good grasp of its command before learning shell scripting.
As you will see this is (almost) the same. Practically every modern shell is a command interpreter as well as a language and what you can enter at the command line you can also use as a line of a script - and vice versa.


Quote:
Originally Posted by split_func0
Or can i learn both at the same time. I am also considering learning C.
As you can imagine from what i said above the answer to your first question is: yes, you can learn that at the same time. Notice, though, that programming is not only about learning a language, just like cooking is not about learning recipes. To cook well you need to learn some basics common to every recipe - cutting things, mixing well, usage of the various kitchen devices - and only then you may successfully cook some recipe.

Programming is similar: knowing the language is a critical part of it but even more critical is to know "how to do it" so that you end up with a well-structured program instead of a mess. This part is called "software engineering" and it applies to each and every programming endeavour, however small.

So, if you have no prior programming experience, instead of learning UNIX and shell scripting and C i suggest to concentrate on one of the languages (although both are a valuable bit of knowledge and will help you understand better the inner workings of a computer) and pick up some software development/software engineering skills alongside. Once you mastered that you can always learn a second (third, ...) language and apply the general knowledge you already have to it. It is better to be able to write well-written programs in a single language then to write bad programs in ten of them.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 
GRADM(8)						      System Manager's Manual							  GRADM(8)

NAME
gradm - Administration program for the grsecurity RBAC system SYNOPSIS
gradm [ -E ] [ -R ] [ -C ] [ -F ] [ -L <logfile> ] [ -O <filename|stream> ] [ -M <filename|uid> ] [ -D ] [ -P [rolename] ] [ -a <rolename> ] [ -n <rolename> ] [ -p <rolename> ] [ -u ] [ -V ] [ -h ] [ -v ] DESCRIPTION
gradm is the userspace RBAC parsing and authentication program for grsecurity grsecurity aims to be a complete security system for Linux 2.4. gradm performs several tasks for the RBAC system including authenticated via a password to the kernel and parsing rules to be passed to the kernel. OPTIONS
All options to gradm are mutually exclusive, except for -L and -O. -E Enable the RBAC system -R Reload the RBAC system (only valid while in admin mode) -C Perform a check of the RBAC policy, running the same analysis against it that is performed when enabling. -F Toggle full learning mode. If used only with -L, it enables the RBAC system in full learning mode. If used with -L and -O, it parses the full learning logs and generates a complete ruleset. -M <filename|uid> Remove an execution ban on a given uid or filename that has been put in place by the RES_CRASH resource restriction of the RBAC sys- tem. -L <logfile> Parses the learning logs. Accepts an argument which specifies the logfile to scan for the learning logs. If "-" is specified as the logfile, stdin will be used as the learning log. This option can be used with -E, -O, or -F. -O <filename|stream> Specifies output mode. Requires a single argument that can be "stdout", "stderr", or a regular file. Only used with -L or -F. -D Disable the RBAC system -P [rolename] Without an argument, it sets the password for administering the RBAC system. With a role name as an argument, it sets the password for that given special role. -a <rolename> Authenticate to a special role that requires a password. -n <rolename> Authenticate to a special role that does not require a password. -p <rolename> Authenticate through PAM to a special role. -u Removes yourself from your current special role, reverting back to the normal role selection. To be used, for instance, for logging out of an admin role without exiting your shell. -V Displays verbose policy statistics when enabling the RBAC system or checking the RBAC policy. Can only be used with -C, -E, or -F -L <filename> -h Display help information -v Print version information and exit REPORTING BUGS
Please include as much information as possible(using any available debugging options) and send bug reports for gradm or the grsecurity RBAC system to spender@grsecurity.net. AUTHOR
grsecurity and gradm were created and are maintained by Brad Spengler <spender@grsecurity.net> GRADM(8)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy