现在,要从全部共享内存文件读取和打印所有记录,创建一个循环。
Now, to read and print all the records from the entire Shared memory file, create a loop.
fgrep会对文件搜索某个字符串,并打印包含这个字符串的所有行的内容。
Fgrep searches files for a string and prints all lines that contain that string.
一旦打印出文件中的内容,所有内容就会被释放到名为testdestination的目录中。
Once we have printed out what's in the file, we extract the whole thing into a directory named testdestination.
应用推荐