Python: Hello World and Variables, Strings and Numbers

Python

This is post 2 of 3 in the series “Introduction to Python” It’s time to program. Open a Linux terminal. Run the command: python In a browser, go to this page: http://introtopython.org/hello_world.html Run these simple commands in the python shell. Now click the link at the bottom of the page to go to Variables, Strings …

sudo and su –

Hacker Girl

This is post 9 of 11 in the series “The Linux Command Line” Both sudo and su are highly dangerous. The sudo command is used to run a following command as the super-user. Think “super-user do.” It lets regular users do rootly thing, like: sudo cat /etc/shadow You’ll be prompted for a password: Your Password. …

Linux User Default Files

Hacker Girl

This is post 7 of 11 in the series “The Linux Command Line” When a new user is created, the default files and directories that are created are stored in /etc/skel. This directory can be modified to fit your needs. Modifications will only affect new users; they do not change anything for existing users.

Group Information

Where group information is stored Group information is stored in /etc/group. This file should be changed with the usermod, groupadd and groupmod commands. The format of each line is: Group name Group password (hardly ever used) Group ID User names (separated by commas) Each field is separated by a colon.

Shell Variables

Linux bash shell

This is post 8 of 19 in the series “[ Shell Scripting ]” In Unix there are three kinds of variables: System Variables (you normally can’t change these), Environment Variables (which are yours, and specific to your environment) and Shell Variables (which you declare and use in programming). Bourne, bash and Korn allow you to …