Trying alternative method to clear line in Linux