Article 6CBAX 'history' & 'exit' commands not executing in script

'history' & 'exit' commands not executing in script

by
JASlinux
from LinuxQuestions.org on (#6CBAX)
When I execute this basic script in urxvt (terminal app):

Code:#!/bin/sh
reset
history -c
exitreset executes, history remains, & the windows stays open (does not exit)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments