hide date from terminal ubuntu code example Example: hide date from terminal ubuntu PS1='\u@\h:\w\$ ' #You may restart your machine for the changes to be permanent.