I have an old dual core atom server with 4GB of RAM. I found all the git folders on the server with find / -name ".git"
command and put over 600 lines of these git folders (output) in a file. Now I want to ll all those lines with ll $(<lines.txt)
but I am not sure If that can crash the server.
2
Answers
It will not crash the server, but it might take long depending on the number of files in those directories. If they aren’t overly full of files, it might just take a few seconds or a minute. (this is very likely).
It will cause IO load and probably cause re-adjusting of Linux IO buffers (depending on their size and state). Both shouldn’t be a problem unless the server is under extreme and performance critical load.
I recommend to use:
or
You can try to log it directly to a
txt
file.You can see this reference.
Before you are going to do that :
If it is a producttion server :