kea-classrooms / bbs-Hjordten

bbs-Hjordten created by GitHub Classroom
0 stars 0 forks source link

Create some sample files #7

Open Hjordten opened 1 year ago

Hjordten commented 1 year ago

The following snippet will run in a linux terminal.

You can copy it, paste into the terminal of the CodeSpace - and it will run. You may have to hit <ENTER> to execute the very last command too.

But Before you actually run it - try to guess (make your notes in the comments)

Hjordten commented 1 year ago

Steps to write and execute a script Open the terminal. Go to the directory where you want to create your script. Create a file with . sh extension. Write the script in the file using an editor. Make the script executable with command chmod +x . Run the script using ./.