Lab Part 1: Getting To Know The Computer: Basic Commands

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Lab

Part 1: Getting to know the computer

Basic Commands

We are going to start with some exercises to get used to the computer. Go ahead and do the
following exercises to get used to using the command line interface. Scroll down to the last icon
on the left panel and click on the Command Line Interface icon.

Type in these commands


# date (here # is the command prompt; yours will be different!)
# time

1) What output do you get from each?

Examine the help system by using either info or the older man system. You can use
these commands to learn about common Linux functions. Test it out with the ls
command, type:
# info ls
# man ls

2) What does the ls -x option do? Be careful, options are case sensitive too!
TIPS: The space bar advances to the next page of information. When you are
finished reading, type q to exit the help utilities.

Look up the man page for mv, then use man -k rename to list all the pages on the
topic of renaming files and directories.
# man -k rename

3) Is mv in one of the pages listed?

Listing Files

You might also like