Search:

Type: Posts; User: spjackson; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: ls command with digital format of access

    Not with ls, but stat may help, e.g.
    stat --printf="%a\t%n\n" *
  2. Replies
    11
    Views
    12

    Re: File header size in Bytes

    As has been said, unlike .bmp files, many file formats do not specify any "header" data.

    All of the major current LibreOffice native formats are zip archives (.odt, .ods etc.). All of the major...
  3. Re: How to copy one file to multiple sibling folders using the terminal?

    for dir in b c d e ; do cp a/1.txt "$dir" ; done
  4. Re: GLIB in C programming: No such file or directory

    I am pretty sure that there isn't a straight forward way to force gcc to pick up extra include paths and extra libraries without you specifying them on the command line. In practice, a Makefile or...
  5. Re: GLIB in C programming: No such file or directory

    You need to tell the compiler where to find the necessary from your newly added package.

    gcc -O2 $(pkg-config --cflags glib-2.0 json-glib-1.0) -o test test.c $(pkg-config --libs glib-2.0...
  6. [SOLVED] Re: $PATH reports: No such file or directory

    man 5 environment says "The file must consist of simple NAME=VALUE pairs on separate lines." I don't think you can have the spaces before and after the =, just as with variable assignment in the...
  7. [SOLVED] Re: $PATH reports: No such file or directory

    If you really have a $ at the start of each line, then that's your problem. These should not be there.
  8. Replies
    9
    Views
    10

    [SOLVED] Re: 19.04 - Why doesn't ~ work?

    Good. This shows that tilde expansion is operating correctly.

    Good. This explains why tilde expansion is operating correctly: we have normal bash behaviour.


    Tidle expansion means that the...
  9. Replies
    9
    Views
    10

    [SOLVED] Re: 19.04 - Why doesn't ~ work?

    What's the output of "echo ~"?

    Define "doesn't work". Do you get any error message?
    What's your shell? i.e. what's the output of "echo $0"?
  10. [SOLVED] Re: Is there a default email server on Ubuntu / Lubuntu ?

    postfix is what is normally used to send email from a webserver with php. It also receives email. exim would be the main alternative. mailutils doesn't do what you are looking for.
  11. Re: Don't know how to compile multiple files using CUnit

    The above command is looking for raj_test.c in the current working directory. It fails because this file is not there. You need to run it from the directory where raj_test.c is located.

    .h files...
  12. Replies
    26
    Views
    27

    Re: I am compiling a new coin for fun

    That doesn't help me much. Is there a reason you can't be specific, i.e. give a URL?

    That doesn't help at all, any more than saying "I used my computer". Is there a reason why you can't tell us...
  13. Replies
    26
    Views
    27

    Re: I am compiling a new coin for fun

    This is a configuration issue. Where did you get whatever it is you are trying to compile? What instructions are you following to build it? How did you install /usr/include/x86_64-linux-gnu/openssl ?...
  14. Replies
    26
    Views
    27

    Re: I am compiling a new coin for fun

    This is a configuration issue. openssl is configured to expect kerberos & you don't have it or it isn't in your include path. Go to my next reply.
  15. Replies
    26
    Views
    27

    Re: I am compiling a new coin for fun

    The error message means that the name of a class is expected where BigNum is found and BigNum is not the name of a class.

    If your source is supposed to be something like this one...
  16. Replies
    26
    Views
    27

    Re: I am compiling a new coin for fun

    That just makes no sense. What on earth is "token"? I suppose it could be some macro defined in util.h. What on earth is "~public:" i.e. what is that "~" doing there?

    Without the token and the ~...
  17. Replies
    2
    Views
    3

    Re: some cron help

    sudo doesn't work from cron because it needs to prompt for the password. Take out the sudo and put it in root's crontab with 'sudo crontab -e'.
  18. Re: Question about gunzip and permissions

    This behaviour is all normal.

    gunzip creates a new file and removes the old one. This can be demonstrated by ls -li. You will see that the i-node number changes. When it creates the new file, the...
  19. Re: Error when I try getting the Wine Source

    Any network operation is subject to failure. Have you retried? It works for me.
  20. Replies
    7
    Views
    8

    [SOLVED] Re: Terminal: "cd"-command not working

    See above regarding uld.tar.gz. However, for these 3 failed commands, you need a space between cd and its argument, i.e. "cd /", "cd ~", "cd ..".
  21. [SOLVED] Re: Refer to a file path in command line?

    Apart from the ~ pointed out be TheFu, you seem to have 2 more issues: 1. some backslashes that should be forward slashes, 2. spaces in filenames. So...

    pdftk \
    cat \
    ~/"My Documents/AAA- My...
  22. Replies
    8
    Views
    9

    [SOLVED] Re: use PHP to loop a JSON file

    <?php
    $string = file_get_contents("data.json");
    $json_a = json_decode($string, true);

    print_r($json_a); // debugging - show full structure

    $records = $json_a['energy']['values'];
    ...
  23. [SOLVED] Re: bash to add a variable to a web address

    That's puzzling because it is absolutely NOT fine bash syntax. You probably mean something like this:


    dd=$(date +%Y-%m-%d)
    fd=$(date +%Y-%m-%d --date='-7 day')
  24. Replies
    3
    Views
    4

    Re: phpmyadmin file too big

    You need to edit /etc/php/7.2/apache2/php.ini. Both the upload_max_filesize and post_max_size parameters need to be sufficient. You will need to restart apache after the change.
  25. Re: a C fille including a header file that in turn includes another header file

    I am afraid that is all very confusing... which may explain why nobody has tried to help yet.


    So far so good... (except for the space between the - and IdirB but I'll assume that's a typo).
    ...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4