Hi,
what happens when we execute these below commands in scripting:
1. cat $Job_Timestamp_file | grep jpmTimeId | cut -d"=" -f2 | sed /s/ >$Job_Timestamp_file
2 tar czf $dest/$archive_file $backup_files
pls can any one explain
Thanks in advance
subhani
unix command
Moderators: chulett, rschirm, roy
Hmmm... piping cats. Not a good sign.
UNIX commands are documented everywhere - the web, your server, you colleagues, etc. Try looking up what "cat", "grep", "cut", "tar" etc do, they are all pretty basic commands and easy to understand. Google can help or from your UNIX server's command line, type "man" for manual pages and then the command. For example:
![Wink :wink:](./images/smilies/icon_wink.gif)
UNIX commands are documented everywhere - the web, your server, you colleagues, etc. Try looking up what "cat", "grep", "cut", "tar" etc do, they are all pretty basic commands and easy to understand. Google can help or from your UNIX server's command line, type "man" for manual pages and then the command. For example:
Code: Select all
man cat
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers