Mar 22, 2026

Cloud Basic Commands Part 43

The following is a tutorial that goes through basic Linux commands on an RHEL EC2 instance.

Basic Commands

The List Command

Test Scenario

Basic Commands

Command Description
ls List files in short format
cp Copy a file or directory
rm Remove a file or directory

The List Command

Here’s how to use the ls command :

$ ls -l

$ ls -ltr

Test Scenario

Now, let’s use some basic commands to become more comfortable with the terminal.


$ whoami


$ id


$ echo “Hello World”


Back to Top