That wily Mr. Waldo is off on another one of his adventures. This time he’s taken refuge somewhere in the Linux file tree, and it’s up to us to figure out where he went. There are two excellent bash shell commands at our disposal: find and locate. I’d like to get this job done quick, so lets start with the …continue reading
Watch the latest videos
This Little Piggy Went to Make DirectoryOnce upon a time, there were three little files that used the mkdir command to make directories out of straw, sticks, and bricks. They were very happy in their new homes, until one day a big, bad wolf threatened to rmdir their directories. Not by the hair on Aramis’ chinny-chin-chin!…
pwd or Print Working DirectoryAmazing grace, how sweet the sound! Superusers Adelie the penguin and Aramis the GNU help a lost file find his way home with the pwd or Print Working Directory command.
cd or Change DirectoryDaft Punk is playing in the Music directory. Aramis the gnu and Adelie the penguin help Leela the file join the party with the change directory command.
HELP!Stop worrying, help is on the way! Super friends Aramis the gnu and Adelie the penguin help a file help himself with the help command.
Read the latest tutorials
Whenever the shell gets me feeling down, I use the ‘help’ command to get my feet back on the ground. The help command provides information on built-in commands. Built-in commands are any programs bundled with your version of the bash shell. For a complete list of the built-in commands available to you, simply enter ‘help’ at the terminal prompt. That’s …continue reading
Did the excitement of the print() function wear off? There’s a lot more to strings than simply printing them out in IDLE. In this tutorial we will cover Python string operations: concatenation, multiplication, indexing and slicing. If you’re just joining us, you might want to check out our previous tutorial introducing strings. String Operations Think of strings like beads on …continue reading
“Hello, World!” Do you remember our first program? We used the print() function to output a line of text. The phrase “Hello, World!” is a string, and a string is a sequence of characters. We create a string by wrapping a sequence of characters in quotation marks. Even a single character is considered a string. So it follows that a …continue reading