keecode logokeecode
67

No User

Addressee unknown

Application

Exit Code Information

Exit Code

67

Name

No User

Category

Application

Usage Context

User specified did not exist

Common Usage

Bash Script

#!/bin/bash

if [ condition ]; then
  echo "No User"
  exit 67
fi

Check Exit Code

./script.sh
echo $?  # Prints the exit code

# Check if exit code matches
if [ $? -eq 67 ]; then
  echo "No User"
fi

Node.js/JavaScript

// Exit with code 67
process.exit(67);

// Or throw error that results in exit code
if (error) {
  console.error('No User');
  process.exit(67);
}

Python

import sys

# Exit with code 67
if error:
    print("No User")
    sys.exit(67)