Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    8

    Re: A lot of ata errors in syslog

    This sounds almost like 'Live long and prosper' ))
    Thank you for worrying my data )
  2. Replies
    7
    Views
    8

    Re: A lot of ata errors in syslog

    Thank you for your worrying me.

    Do you think that I need to run long test run or will be enough short one?
    Here is my smart info for 2 HDD:


    smartctl 6.6 2016-05-31 r4324...
  3. Replies
    7
    Views
    8

    Re: A lot of ata errors in syslog

    I think that troublemaker was an old bad sata cable. I've changed it 2 days ago and there are no errors since then.
    Thank you all for advices.
  4. Replies
    7
    Views
    8

    A lot of ata errors in syslog

    I recently upgraded my small home server from 16.04 to 18.04 and noticed a lot of this errors in syslog. They are appearing every hour.



    Can someone explain me what is it?
  5. Close access to non-existing sub-domains with https?

    I have some VDS with apache on board and 2-3 configured domains on each VDS.

    My configs: for http


    <VirtualHost *:80>
    ServerAdmin mymail@gmail.com

    ServerName example.ru
    ServerAlias...
  6. Replies
    1
    Views
    2

    [SOLVED] Re: Little problem with my iptables rules

    Just got it. Looks like I set wrong source and destination ports in my rules :)
  7. Replies
    1
    Views
    2

    [SOLVED] Little problem with my iptables rules

    I trying to set some iptables rules. Here is my bash script with some of them:


    #!/bin/bash

    ############################
    # Var

    IPT=/sbin/iptables
    IPS=/sbin/ipset
  8. Replies
    6
    Views
    273

    Re: Killing task without "notification"

    And this method also was tested without any success. :(
  9. Replies
    6
    Views
    273

    Killing task without "notification"

    Every time when I'm killing bg task I got notification that this task has been killed.


    $ sleep 500 &
    $ kill sleep
    [1]+ Terminated sleep 500


    Is there any way I can get rid...
  10. Unnattended OS update problem after changing some config files

    I run Ubuntu 16.04.1. I want to increase resolution of grub menu so I added into my /etc/default/grub this line:


    GRUB_GFXMODE=1152x864x32

    It works fine, until I trying to run unattended...
  11. Replies
    0
    Views
    236

    run vnc4server without root rights????

    In my local network I'm helping my users through vnc4server. I'm running it on :0 display so this works really like remote display (like teamviewer or radmin on windows systems).
    I created service...
  12. [SOLVED] Re: BASH script as parser for torrent tracker RSS feed.

    NVM, just finished it myself :)
  13. [SOLVED] BASH script as parser for torrent tracker RSS feed.

    Hallo.

    Using couple of guides I want to create simple parser for RSS feed which doesn't have direct links to *.torrent files.

    Finally I got something like this:



    for i in $(curl -s...
  14. Replies
    9
    Views
    629

    Re: Reset background color for bash dialog?

    I'm running "Xshell". This is too ssh client for windows PCs. And as I already told - when I'm running this script in "real" terminal (yeah, on virtual machine) - all works fine. So maybe some one...
  15. Replies
    9
    Views
    629

    Re: Reset background color for bash dialog?

    How can I check what terminal i'm running? Sorry i'm still not so good with linux :) Are you talking about that?

    http://crewdk.ru/fscapture/2016-06-20_062634.jpg

    I tried use setterm with...
  16. Replies
    9
    Views
    629

    Re: Reset background color for bash dialog?

    Yeah. I know about clear, but some strange way when I run this script in ssh session it looks for me like this. If i run this script in real terminal - all works just fine. So what wrong with ssh...
  17. Replies
    9
    Views
    629

    Re: Reset background color for bash dialog?

    I'm talking about blue BG color. For example, i want to see some output after running dialog and this blue BG a little bit noisy :(
    Is there any way after close dialog form itself reset this colours...
  18. Replies
    9
    Views
    629

    Reset background color for bash dialog?

    Hey.

    I got some script where i'm useing dialog command.


    #!/bin/bash

    tmpfile=$(mktemp tmp.XXXXXXX --tmpdir=/tmp 2>/dev/null) || tmpfile=/tmp/test$$

    dialog --backtitle...
  19. Replies
    0
    Views
    177

    mcedit bug with syntax highlighting bug

    Hallow.

    I got simple script


    #!/bin/bash

    if [ -e ~/passwd.txt ]; then
    BDPASS=$(grep "MySQL" /root/passwd.txt | awk '{print $4}')
    else
  20. Replies
    3
    Views
    369

    Re: How can i see iptable blocked IP's

    Thank you for your answer.
  21. Replies
    3
    Views
    369

    How can i see iptable blocked IP's

    Hey. I got some rules in my iptables:


    $IPT -A INPUT -p tcp --dport 2525 -m state --state NEW -m recent --name BLOCK --set
    $IPT -A INPUT -p tcp --dport 2525 -m state --state NEW -m recent...
  22. Replies
    13
    Views
    592

    Re: Transform input text with sed command

    BTW, can someone tells me what does last "-" in this command?
  23. Replies
    13
    Views
    592

    Re: Transform input text with sed command

    Yeah. Thank you all for realy good answers and explanations!
  24. Replies
    13
    Views
    592

    Re: Transform input text with sed command

    Thank you.
    I understand that
    \(.*[[:xdigit:]]\)\([[:xdigit:]]\{2\}\) is regexp. But what about rest? I mean:


    sed -e :a -e 's/......./\1:\2/;ta'

    Can you tell me what is it? Or at least...
  25. Replies
    13
    Views
    592

    Transform input text with sed command

    I'm lost a little :(
    I got input text like 08002738cb55 (it's MAC address without ":" separators).
    Is there any way I can transform this into 08:00:27:38:cb:55 with sed command?

    I found one...
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4