Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Nov 24 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Nov 24

1. Don't forget that ` is not the same as '.
The below statement sets the variable currentdirectory to the results of
the pwd command.
currentdirectory=`pwd`

2. You can either grep it through a case statment or you knuckle down
and learn regular expressions which I've not yet done either. ;-)

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on basic shell script problem Or get search suggestion and latest updates.


Tagged: