Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
CompTIA
Help with Linux seem to be stuck on redirection ?
bhekisto
Question
Output all data from /user/share/dict/linux.words to a file named words in the root of the filesystem, then number the lines and save the output as words.num
My answer
ls -l /user/share/dict/linux.words |nl > /root/words.num
Question
Read the non-existent file named asdfgh, redirect errors to asdfgh.err, then number the lines in asdfgh.err.
my answer
2.ls -l asdfgh |nl 2> asdfgh.err
l know my answers are wrong but cant seem to get it right
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
There are no comments yet
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS