Linux head instruction usage
head-n x file path > The new file name
is here, x stands for the previous x data that you want to intercept, modify
according to needs. For example, if you want to extract 10,000 pieces of data, the instruction is head-n 10000 file path > The new file name
file path is because you need to tell the system where the file is
. If you don’t know, you can use the find /* -name file name to query the location of the file
. The new file generated by> is placed in the same path as the file by default.
Read More:
- Leetcode-234: palindrome linked list
- 【Hackerrank】Reverse a doubly linked list
- Bad default revision ‘head’
- Git pull error: pull is not possible because you have unmerged files
- 206. Reverse Linked List [easy] (Python)
- Git pull undo misoperation
- Solution to the segmentation fault of single chain table in C language
- TSV_TNEW_PAGE_ALLOC_FAILED
- Pull is not possible because you have unmerged files
- (26)RuntimeError: Error(s) in loading state_dict for YoloBody:size mismatch for yolo_head3.1.weight
- Modify the default file location of the Jupiter notebook
- Compiling TPC-H tools for Mac
- [How to Solve] ashx Http Delete method not allowed
- Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then
- There is a problem decompressing the zip file: an error occurred while extracting files
- Method of modifying file and folder permission by Chmod command in Linux
- JavaScript / JS native dynamic introduction of external CSS files and dynamic insertion of CSS code fragments
- How to cancel the commit, how to cancel the commit after git commit, and how to change the submitted content
- errorCode: 500, msg: , result: {“Message”:”There was an error processing the request
- Windows encountered 1152 when installing software: error extracting files to the temporary location