About 40,000 results
Open links in new tab
  1. What are the special dollar sign shell variables? - Stack Overflow

    Sep 14, 2012 · In Bash, there appear to be several variables which hold special, consistently-meaning values. For instance, ./myprogram &; echo $! will return the PID of the process …

  2. 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 …

  3. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

    It depends on the Test Construct around the operator. Your options are double parentheses, double brackets, single brackets, or test. If you use ((…)), you are testing arithmetic equality …

  4. 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 …

  5. unix - How to check permissions of a specific directory ... - Stack ...

    I know that using ls -l "directory/directory/filename" tells me the permissions of a file. How do I do the same on a directory? I could obviously use ls -l on the directory higher in the hierarchy...

  6. unix - What is the meaning of "POSIX"? - Stack Overflow

    Nov 23, 2009 · Since every Unix does things a little differently -- Solaris, Mac OS X, IRIX, BSD, and Linux all have their quirks -- POSIX is especially useful to those in the industry as it …

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

    Jul 3, 2013 · a way to avoid the "grep -v grep" is to use "grep <process nam [e]>" so it interpolates the string and the process nam [e] isn't found when the first grep executes, if that makes sense.

  8. In Unix, how do you remove everything in the current directory …

    May 4, 2009 · First, if you look at the rm command man page (man rm under most Unix) you notice that –r means "remove the contents of directories recursively". So, doing rm -r . alone …

  9. linux - How can I recursively find all files in current and subfolders ...

    May 5, 2011 · How can I recursively find all files in current and subfolders based on wildcard matching?

  10. 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 …