• 0

confused on unix special character command


Question

Write a script that outputs your name. So if your name is "Joe Smith". The script should echo "Joe Smith" to the screen.

the answer is $cat tut2q1.sh

!/bin/bash

This is a script to print Joe Smiths name.

echo 'Joe Smith' $

but after i write $cat blah blah, the next command line gives me > symbol. after finish typing until the end of $, i can't get out of the sh? how do you type those command step by step?

thanks

3 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.