Recent content by med89med

  1. M

    Small fork program in c (\n not clear for me)

    Hello , im using this easy script : #include <stdio.h> #include <unistd.h> #include <stdlib.h> void main(void) { printf("Bonjour1 "); int pid = fork(); printf("pid %d.\n", pid); if (pid == 0) { printf("I am the child.%d.\n", getpid())...
  2. M

    [Solved] AWK beginner script

    ok , i have found te problem expression !/expression régulière/ {instructions} is not working but this working expression !~ /expression régulière/
  3. M

    [Solved] AWK beginner script

    Hello , I have my file adresse.txt gwenael | 0298452223| 0638431234 | 50 marcel | 0466442312 | 0638453211 | 31 judith |0154674487 | 0645227937 | 23 and my script awk #!/bin/sh awk 'BEGIN {print "On vérifie les numéros de téléphone"; FS="|"} $2 !/^[0-9][0-9]*$/ {print "Erreur sur le numéro de...
  4. M

    i don't find the file .history in my home

    if you delete .bash_history , and you run history, you wil find all your history there. so there is no a directect relation beteween the command history and and the file .bash_history. if you run history - c at this moment you will clear the concerned file . but this concened file i don't...
  5. M

    i don't find the file .history in my home

    Hello, i was doing a homework that says to delete the history file : rm /home/myuser/.history but i don't find this file in my home : error message while doing thiscommand : file not found. There is only the file .bash_history. Im using fedora. in ubuntu i don't see (.history nor...
Top