Valavil RESEARCH: BLOG

Illustration of a bird flying.
  • Sum and multiplication

    $ls first-example first-example.c new-sum.c sum sum.c $cat new-sum.c #define _XOPEN_SOURCE 500 #include <stdio.h> #include <stdlib.h> #include <unistd.h> void printhelp(char progname[]); int main(int argc, char *argv[]) { int i, opt, sum; /* Simple sanity check */ if (argc == 1) { printhelp(argv[0]); return 1; } /* Parse command-line options */ while ((opt = getopt(argc, argv, “smh”)) […]

    July 26, 2022
  • Sum of numbers

    $lsfirst-example first-example.c new-sum.c sum.c$gcc sum.c -o sum$cat sum.c #include <stdio.h>#include <stdlib.h>void printhelp(char progname[]); int main(int argc, char *argv[]){int i;int sum = 0; /* Simple sanity check */if (argc == 1){printhelp(argv[0]);return 1;} for (i=1; i<argc; i++){sum = sum + atoi(argv[i]);}printf(“Total sum: %i\n”, sum);return 0;} void printhelp(char progname[]){printf(“%s integer …\n”, progname);printf(“This program takes any number of ” […]

    July 24, 2022
  • Hello World

    $lsfirst-example.c new-sum.c sum.c$cat first-example.c #include <stdio.h>int main(void){printf(“Hello, world!\n”);return 0;}$gcc first-example.c -o first-example$./first-exampleHello, world!$

    July 23, 2022
  • acpi_video_flags flags

    [text] it allows mode of video boot to be set during run time. [/text] SHELL SESSION [bash] $pwd /proc/sys/kernel $sudo cat ac acct acpi_video_flags $sudo cat acpi_video_flags 0 $ [/bash] LINKS https://www.kernel.org/doc/Documentation/power/video.txt https://www.kernel.org/doc/Documentation/sysctl/kernel.txt

    September 30, 2020
  • acct for process accounting

    ABOUT process accounting Process accounting is a security method in which an administrator may keep track of system resources used and their allocation among users, provide for system monitoring, and minimally track a user’s commands. Process accounting has both positive and negative points. SPECIFIC EXPLANATION [text] acct: highwater lowwater frequency If BSD-style process accounting is […]

    August 31, 2020
  • ar – create, modify, and extract from archives

    ABOUT ar The archiver, also known simply as ar, is a Unix utility that maintains groups of files as a single archive file. Today, ar is generally used only to create and update static library files that the link editor or linker uses and for generating .deb packages for the Debian family; it can be […]

    July 7, 2020
  • prayer against depression – by saint ignatius of loyola

    O Christ Jesus, when all is darkness and we feel our weakness and helplessness, give us the sense of Your presence, Your love, and Your strength. Help us to have perfect trust in Your protecting love and strengthening power, so that nothing may frighten or worry us, for, living close to You, we shall see […]

    June 19, 2020
  • Colossians 3:23-24

    23 Whatever you do, do from the heart, as for the Lord and not for others, 24 knowing that you will receive from the Lord the due payment of the inheritance; be slaves of the Lord Christ.

    April 2, 2020
  • 1 PETER 4:8

    8 Above all, let your love for one another be intense, because love covers a multitude of sins.

    February 4, 2020
  • PROVERBS 18:16

    16 Gifts clear the way for people, winning access to the great.

    January 6, 2020
←Previous Page
1 2 3 4 5 … 120
Next Page→

Proudly powered by WordPress

  • Follow Following
    • valavil.in
    • Already have a WordPress.com account? Log in now.
    • valavil.in
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar