/etc/inittab file to echo a message to the console

Posted on 2006-05-14
Last Modified: 2013-12-16
In the /etc/inittab file. Please let me know how to hange this file so that when
the system boots into runlevel 4, it will echo "Hello runlevel 4!" to the console.

Question by:jlim95
    1 Comment
    LVL 27

    Accepted Solution

    man inittab

    The inittab file is composed of entries  that  are  position dependent and have the following format:

    in your example rstate is 4
    action is: 'once'
    process is: /bin/echo "Hello runlevel 4!"
    id is any you like, let it be: 'h4'

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now