#!/bin/bash # echo "Hello, $LOGNAME" echo "Current date is `date`" echo "User is `who i am`" echo "Current direcotry `pwd`"
close, but not quite. On line 6, "`who i am'" should be changed to "`whoami`." Also, directory is not spelled direcotry.
Write a shell script to get the current date time user name and current working directory
Thank You for your Comments, We will read and response you soon...
close, but not quite. On line 6, "`who i am'" should be changed to "`whoami`." Also, directory is not spelled direcotry.
ReplyDeleteWrite a shell script to get the current date time user name and current working directory
ReplyDelete