Show the entire contents of a file in Linux/Ubuntu/Mac

I’m primarily a Juniper engineer, so most of my commands are followed by ” | no-more”. If you’re like me, you probably like to print the entire contents of files/output and scroll up within the terminal. There’s a super easy command that will print the contents of a file to the screen. “cat” cat output.txt

Set or Change the Date and Time on FreeBSD

If you ever need to set or change the time on a FreeBSD (JUNOS) box, here’s how: Show the current date Command:


Set the date to the desired time Command: (yymmddhhmmss)

Date Output Afterward: