$
Endless Linux Practice
Simulator
Learn
Commands
Basics
Shell scripting
Challenges
Tools
Simulator
Real Linux
中文
Sign in
Back to the learning path
truncate
truncate
Command details
1
Change a file’s size
Random practice
0/3
Finish every skill, then solve 3 random exercises in a row to master the lesson.
$$$$$$$$$$$$$$$$
gggggggggggggggggggggggggggggggg
Exercise: Empty a log, keep the file. The result appears on the left when you're done.
user@elp
:
~/challenge
$
strings
Restart this lesson
Next lesson:mktemp