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.

Linux Shells

Glenn Norman

This is post 3 of 11 in the series “The Linux Command Line” Boot, login, and start Secure Telnet/Secure Shell or PuTTY. Log in with your UNM user name and password. Check Your Shell Command: echo $SHELL Your answer may be: /bin/sh # the Bourne shell /bin/csh # the C shell /bin/bash # the Bourne …