About 57,200 results
Open links in new tab
  1. The UNIX® Standard | www.opengroup.org

    May 22, 2025 · Single UNIX Specification- “The Standard” The Single UNIX Specification is the standard in which the core interfaces of a UNIX OS are measured. The UNIX standard …

  2. What does the line "#!/bin/sh" mean in a UNIX shell script?

    Sep 10, 2011 · When you try to execute a program in unix (one with the executable bit set), the operating system will look at the first few bytes of the file. These form the so-called "magic …

  3. unix - How to get PID of process by specifying process name and …

    Jul 3, 2013 · pgrep -x <process_name> | xargs kill -9 (incidentally, for this specific use case, might as well do pkill -9 -x <process_name>, but the question asked how to get the PID in general) …

  4. What is the proper way to exit a command line program?

    2 Take a look at Job Control on UNIX systems If you don't have control of your shell, simply hitting ctrl + C should stop the process. If that doesn't work, you can try ctrl + Z and using the jobs …

  5. Find all files containing a specific text (string) on Linux

    Jun 6, 2013 · How do I find all files containing a specific string of text within their file contents? The following doesn't work. It seems to display every single file in the system. find / -type f …

  6. bash - What does " 2>&1 " mean? - Stack Overflow

    To combine stderr and stdout into the stdout stream, we append this to a command: 2&gt;&amp;1 For example, the following command shows the first few errors from compiling main.cpp: g++ …

  7. Difference between CR LF, LF and CR line break types

    Oct 12, 2009 · I'd like to know the difference (with examples if possible) between CR LF (Windows), LF (Unix) and CR (Macintosh) line break types.

  8. bash - How can I split a large text file into smaller files with an ...

    I've got a large (by number of lines) plain text file that I'd like to split into smaller files, also by number of lines. So if my file has around 2M lines, I'd like to split it up into 10 files t...

  9. git - How to change line-ending settings - Stack Overflow

    Is there a file or menu that will let me change the settings on how to deal with line endings? I read there are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF …

  10. unix - Diff files present in two different directories - Stack Overflow

    I have two directories with the same list of files. I need to compare all the files present in both the directories using the diff command. Is there a simple command line option to do it, or do I h...