Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    3

    [SOLVED] Re: Damaged .WAV file

    Thank you so much. Why didn't I notice that? That's worked.
  2. Replies
    2
    Views
    3

    [SOLVED] Damaged .WAV file

    I have a portable Digital Voice Recorder which records audio and saves in .WAV format. This normally works fine but on the odd occasion the .WAV file is damaged in some way. At present I have such a...
  3. [SOLVED] Re: How with grep command exclude search in dubdirectory ?

    grep -Hrn 'backend' --include="*.vue" /mnt/_work_sdb8/wwwroot/lar/hostels2/resources/js/components/BS4 | grep -v /admin/
  4. Re: preserve permissions while zip folders

    Welcome to the forums.

    The zip and unzip commands in the zip package are from Info-Zip and these normally preserve permissions where possible. An alternative would be to use a compressed tar, if...
  5. Replies
    6
    Views
    7

    Re: Make mv not move directories

    This is a very interesting question.


    * matches 'Corbeil'
    [A-Z] matches 'l' (for many collations)
    ? matches 'e'


    *[A-Z]? would not match bbbbab because 'a' is outside the range A-Z...
  6. Thread: script

    by spjackson
    Replies
    12
    Views
    13

    Re: script

    In your original post, you had backslash characters (e.g. \Polar=) but in this example where it does not work, you have pipe characters (e.g. |Polar=). Therefore you would need to change the...
  7. Thread: script

    by spjackson
    Replies
    12
    Views
    13

    Re: script

    Assuming your text is in a file data.txt then something like the following should get the values you are looking for.


    tr -d '\n' < data.txt | sed 's/\\/\n\\/g' | fgrep '\Polar=' | sed...
  8. [SOLVED] Re: ls command with digital format of access

    Not with ls, but stat may help, e.g.
    stat --printf="%a\t%n\n" *
  9. 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...
  10. 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
  11. 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...
  12. 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...
  13. [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...
  14. [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.
  15. 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...
  16. 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"?
  17. [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.
  18. 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...
  19. 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...
  20. 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 ?...
  21. 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.
  22. 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...
  23. 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 ~...
  24. 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'.
  25. 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...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4