摘要: Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers. You may 阅读全文
posted @ 2016-04-13 23:43 Grandyang 阅读(5950) 评论(2) 推荐(0)
摘要: Write a bash script to calculate the frequency of each word in a text file words.txt. For simplicity sake, you may assume: words.txt contains only low 阅读全文
posted @ 2016-04-13 11:33 Grandyang 阅读(7105) 评论(1) 推荐(1)
摘要: 16.1 What's the difference between a thread and a process? 进程Process是程序执行时的一个实例。一个进程是被分配系统资源的独立单元,每个进程在独立的地址空间上执行,如果需要使用其他进程的资源,需要使用进程间通讯,包括管道Pipes,文件 阅读全文
posted @ 2016-04-13 05:27 Grandyang 阅读(665) 评论(0) 推荐(0)
Fork me on GitHub