Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7556629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:54:26+00:00 2026-05-30T11:54:26+00:00

This is weird question but I want to know how to change message coming

  • 0

This is weird question but I want to know how to change message coming on terminal For Eg-

vikram@vikram-Studio-XPS-1645:~$ cat seg.c 
#include<stdio.h>
void main()
{
    int* p=9;
    printf("%x",*p);
}
vikram@vikram-Studio-XPS-1645:~$ ./a.out 
Segmentation fault

I want to change message “Segmentation fault” to something else .. like “Pointer failure”.

There is no specific purpose behind this, I just want to explore power of open source.

I try to grep in Linux Kernel source code –

vikram@vikram-Studio-XPS-1645:~$ cd linux-3.0.1/
vikram@vikram-Studio-XPS-1645:~/linux-3.0.1$ grep -r "Segmentation fault" *
Documentation/s390/Debugging390.txt:Program terminated with signal 11, Segmentation fault.
Documentation/virtual/uml/UserModeLinux-HOWTO.txt:  Program received signal SIGSEGV, Segmentation fault.
vikram@vikram-Studio-XPS-1645:~/linux-3.0.1$ 

As the massage come, it should be somewhere in my system.

I think, I am searching at wrong place.
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:54:28+00:00Added an answer on May 30, 2026 at 11:54 am

    As Mat commented, the message is coming from your shell.

    Since your shell is probably free software (probably bash, but you could also use some others, I like zsh) you might take time to patch it accordingly.

    But I believe you should not do that, because otherwise you won’t be able to explain what your system happens to do. For instance, if your modified shell outputs “Pointer failure“, nobody would understand a question here which mentions that.

    It seems much simpler to learn the usual things in Linux…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question may be weird. But I just want to know whether
I know this question is weird, but anyway I want to know it, In
I know this can seem a weird question but for me it would be
I know this is a weird question to ask, but I would like to
i know this question was asked before but i have this very weird beginner
I know this is a weird question, but let me explain more. I use
I know it's a weird question but I want to design a program that
I know this is a weird question, but I would like to know if
I know this question seems hacky and weird, but is there a way to
i know this seems to be a weird question, and it is! But taking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.