Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    6

    Re: Useradd -M creates home directory

    What you show is that the home directory field is set in /etc/passwd, not that the home directory is actually created. Is it created? It isn't for me. If what you are wanting is for the home...
  2. [SOLVED] Re: 7zip Utility Password issue Ubuntu 20.04

    Encryption of a 0 byte file is er... special. Nothing encrypts to nothing. If you repeat the test with a file whose size is greater than 0 you will need to enter the password to extract it.

    Note...
  3. [SOLVED] Re: Struggling with the "column" command, option -c

    Fair enough, so as I said earlier...

    e.g.


    column some_flags_here < some_file | expand | cut -c 1-100

    or use setterm.

    If you want column to truncate the lines without help from any other...
  4. [SOLVED] Re: Struggling with the "column" command, option -c

    I have never come across the column program. What is it supposed to do? It's unclear to me from the man page. There are many more commonly used tools that can be made to truncate lines, including awk...
  5. [gnome] Re: why the ubuntu 18.04 and 20.04 or later can't set a password for a compress arch

    The answer depends on which file manager you are using.

    I use Ubuntu Studio 20.04 (which is based on Xubuntu) so the default file manager is Thunar. With Thunar, you can right-click on (say) a...
  6. [SOLVED] Re: regex to match lines containing one or more characters

    There are 2 problems with that.
    1. & has meaning to the shell. An incomplete sed command is backgrounded then another command beginning with /g is attempted to be executed. You need to prevent the...
  7. [ubuntu] Re: Failed to install git-email Depends: git (< 1:2.17.0-.)

    It looks like it's trying to install an older version of git-email. Try


    sudo apt update

    then re-try the install.
  8. Re: Problem to communicate with serial port

    [Posted in error.]
  9. Re: Problem to communicate with serial port

    Welcome to the forums.

    I haven't done serial comms in Python, but I suspect you don't have read/write permission to the device. Typically, you would need to be in the group dialout. You could test...
  10. Re: [BASH scripting] wc command giving different output when executed by script

    TheFu's sensible and extensive advice notwithstanding, the reason your script is failing is because

    doesn't do what you think it does. It assigns ls to the variable numFiles then tries to execute...
  11. Thread: ftp-upload

    by spjackson
    Replies
    2
    Views
    3

    Re: ftp-upload

    I'm not sure what your server requires but it looks like sftp or scp might possibly be what you need to use.
  12. Replies
    2
    Views
    3

    Re: Problem with cron scheduling

    The format of the examples you have given look fine. Here are 2 thoughts.


    Perhaps you are editing the file directly rather than via 'crontab -e', in which case cron would not receive a signal...
  13. Replies
    4
    Views
    5

    Re: windows 10 necessary in Virtualbox?

    If your sole objective is to run Ubuntu inside Virtualbox as per your first sentence, then there is no need to install Windows in a separate Virtualbox VM. There can be reasons for choosing to do...
  14. Replies
    1
    Views
    2

    Re: cant use x11 from one account

    This ought to do it:


    AccountA$ chmod go=r ~/.Xauthority # Allow AccountB to copy this file
    AccountA$ su AccountB
    AccountB$ cp ~AccountA/.Xauthority ~
  15. [SOLVED] Re: Getting a simple AST working in Python

    For a program you need data structures and algorithm. You've made a start at some data structures but you are lacking an algorithm. Choose an algorithm...
  16. Replies
    2
    Views
    3

    [SOLVED] Re: git over ssh with non-default port

    Thanks. That's helpful so I can now do:


    $ git clone myalias:/path/to/repo.git

    but that still didn't work - same timeout error.

    It turns out that for this server, the URL must have a...
  17. Replies
    2
    Views
    3

    [SOLVED] git over ssh with non-default port

    We've recently changed hosting provider and are having trouble getting git working.

    ssh works with authorized_keys so:


    $ ssh user@myhost -p NNNNN

    works, giving me a shell (albeit a...
  18. Replies
    2
    Views
    3

    Re: pthread creation

    We would need to see some code in order to be able to determine why it is not doing what you expect. However, as I understand it, when a pthread exits, it does not raise any signal, nor does it when...
  19. [SOLVED] Re: Increased virtual disk size not seen by guest

    The reason the new size wasn't recognised appears to be because there was a snapshot of the VM. Removing the snapshot has solved the problem.
  20. [SOLVED] Re: Increased virtual disk size not seen by guest

    Format: vdi, Dynamically allocated storage. as per OP. Are you suggesting that resizing a dynamically sized vdi doesn't work?
  21. [SOLVED] Re: Increased virtual disk size not seen by guest

    Thanks for your replies. However, Windows sees the disk (not the partition) as still only 100GB. Therefore there is no free space into which to expand the partition. Thinking that this might be a...
  22. [SOLVED] Increased virtual disk size not seen by guest

    The host system is Ubuntu Studio 20.04. This hosts a Windows 10 VM with 100GB disk which I want to increase to 150GB.

    I have done:


    VBoxManage modifyhd Win10Dev64-disk002.vdi --resize 150000
    ...
  23. [ubuntu] Re: Is a User written program re-entrant across multiple users in linux

    There would be only one copy of the code segment in memory. However, I'm not sure what you mean by reentrant. What I understand by that is: https://en.wikipedia.org/wiki/Reentrancy_(computing)
    ...
  24. Re: No longer own .dbus after attempted upgrade

    Beaten to it.
  25. Re: This MySQL server doesn't support dates later than 2038

    Is that your system time? If so, can't you set it to something more realistic?
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4