Search:

Type: Posts; User: The Cog; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    3

    [ubuntu] Re: ~250% CPU usage??

    I think it depends how many cores you have. I think it just reports how much CPU time has been used divided by the elapsed time. I think the top process has two cores pegged at 100% - presumably by...
  2. [ubuntu] Re: How to rescue .wav files on the scratched music CD.

    But a file manager can sure make it look like .wav files. I just tried (I admit I'm on Mint not Ubuntu right now) a real CD (Smashie and Nicey's Lets Rock) and clicked it in Nemo file manager. It...
  3. Re: Is this a sign my hard disk drive is about to go out?

    You say that "cp ~/.local/share/Trash/videos/my_vid.mp4 ~/Downloads" gets the response "cp: cannot stat No such file or directory".


    ls -l ~/.local/share/Trash/videos/my_vid.mp4 # I expect...
  4. Re: find all processes that hold a file open

    fuser is nice and quick but only if you know a specific filename. If you can't umount a drive because it's "in use" then "sudo lsof | grep $mount_point" is the only way I know of. I' may be a little...
  5. Replies
    6
    Views
    7

    Re: Networking problem

    I know nothing about webmin except I've heard of it. Provided those config files are in the right place, netplan should be happy with them. Use the command "netplan get" to see its combined config....
  6. Replies
    6
    Views
    7

    Re: Networking problem

    Try editing that post and using code tags round the yaml code (Use the Go Advanced button, highlight the code and click the # button at the top of the editor). That will preserve the indenting -...
  7. [SOLVED] Re: virt-manager networking without iptables binary?

    I grabbed a look at a machine at work, running Ubuntu 22.04. It had multiple VMs configured, each with a NIC in Isolated mode (and one with multiple NICs all in isolated mode). But I know these VMs...
  8. [SOLVED] Re: virt-manager networking without iptables binary?

    So there is already an nft rule configured that cannot be back-translated to iptables. I guess the answer to that is to use nftables rather than iptables - don't try to back-translate. If you are...
  9. [SOLVED] Re: virt-manager networking without iptables binary?

    I don't know how virt-manager configures firewall rules it needs, but I am sure that a recent virt-manager would be able to cope with a system using nftables. I suspect you are reading outdated...
  10. Replies
    14
    Views
    15

    [SOLVED] Re: Mission impossible?

    For some reason, that hadn't crossed my mind. Maybe it is.
  11. Replies
    14
    Views
    15

    [SOLVED] Re: Mission impossible?

    Define what constitutes the start and end of the search text. With words, we can perhaps assume that a non-alpha character (space, comma etc) marks the end of the word. With egrep, we could search...
  12. Replies
    14
    Views
    15

    [SOLVED] Re: Mission impossible?

    You haven't defined the "sought after text". It seems to start with "D00" but "could be any length". Actually, with your current definition, everything from "D00" to the end of the file is a valid...
  13. Replies
    14
    Views
    15

    [SOLVED] Re: Mission impossible?

    Both of these would match the given string definition. It's a very flexible definition we've been given.

    grep -E -r -o 'D00.+' | sort -u
    grep -E -r -o 'D00[0-9]+' | sort -u
  14. Replies
    14
    Views
    15

    [SOLVED] Re: Mission impossible?

    I assume they are all D followed by three digits. If so, maybe this would do the trick?

    grep -R -o 'D[0-9][0-9][0-9]' | sort -u
  15. Replies
    7
    Views
    8

    [SOLVED] Re: Cannot find /dev

    That would be sudo umount /dev/sdb4 - you have to give the full path.
    Oh, wait. If it's an LVM partition then you need to fsck the LVM srive, not the raw partition. That would probably be...
  16. [SOLVED] Re: I want permission on my NTFS HD files and I get input and output errors, help me

    I would add that this is because NTFS is not able to store *nix ownership and permissions. Therefore, as part of mounting the disk, you tell the driver what owner and permissions you want to pretend...
  17. Replies
    3
    Views
    4

    [SOLVED] Re: nginx not working

    You could use ss -ltp to see what address:port the VMis listening on, if at all.
    And nc -vzw3 <hostname> 80 or nc -vzw3 <hostname> 443 to see if you can connect at all.
    And sudo tcpdump -nl tcp...
  18. Re: Block countries IP addresses in iptables

    It's the same concept as iptables. It's mainly the configuration syntax that has changed. So TheFu's comments still apply.
    Here are some reference docs:...
  19. Re: Block countries IP addresses in iptables

    nftables has set built in - not an add-on like ipset.
    If you are using a recent Ubuntu then you are very probably using nftables anyway, through an iptables -> nftables translation utility. Try sudo...
  20. Replies
    5
    Views
    6

    Re: rsync command not working

    I don't think there are any known bugs in rsync. I think we need a lot more detail about what you are having problems with before we can even thing about helping with a solution. The exact command...
  21. [ubuntu] Re: Reboot command slows down actual reboot

    Try "shutdown now". Just "shutdown" sends a one minute warning to all users and waits for a minute.
  22. Re: Mosquitto not working on 22.04.03 Error binding unix socket: Permission denied

    Are you sure you mean "listener port 18083"? All the examples I have seen just say "listener 1883" or similar - without the word "port". Binding a unix socket seems odd to me, I would expect it to...
  23. [SOLVED] Re: use "sed" to find and replace "exact word" in txt files?

    Oh stop it... you're making me blush!

    That text search pattern matching that sed uses (also awk and grep which are other text processing utilities) use pattern matching called regular expressions....
  24. [SOLVED] Re: use "sed" to find and replace "exact word" in txt files?

    sed 's/\bass\b/donkey/'
    the \b means "word boundary". It'll stop it changing mass, assess etc.
  25. Re: Noob question - Not understanding navigating the directories

    Nothing's wrong with the posts already here, but I'll just add my little bit.
    When as process (e.g. a terminal session) is running, it has a "working directory", a place somewhere in the directory...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4