Glam Prestige Journal

Bright entertainment trends with youth appeal.

How do I remove or erase

ls -l | head -3 | tail -l 

to start over. What command should I use?

Since my ls -l | head -3 | tail - l has double exit1.sh, exit2.sh.it isn’t same picture instruction

screenshot

4

1 Answer

You don't - the output of that command appears to simply show the last 3 lines of a file listing (the -l should likely be -1 to show the last line, it is a pointless command as written)

You can simply type the next command and it should work.

If you have a display problem with your terminal, or just want to clear the screen, type the below command (even if you can't see what you are typing for some reason)

reset [enter]

This will clear the screen and try and resize/reset the terminal.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy