This sounds almost like 'Live long and prosper' ))
Thank you for worrying my data )
Type: Posts; User: CrewDK; Keyword(s):
This sounds almost like 'Live long and prosper' ))
Thank you for worrying my data )
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...
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.
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?
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...
Just got it. Looks like I set wrong source and destination ports in my 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
And this method also was tested without any success. :(
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...
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...
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...
NVM, just finished it myself :)
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...
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...
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...
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...
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...
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...
Hallow.
I got simple script
#!/bin/bash
if [ -e ~/passwd.txt ]; then
BDPASS=$(grep "MySQL" /root/passwd.txt | awk '{print $4}')
else
Thank you for your answer.
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...
BTW, can someone tells me what does last "-" in this command?
Yeah. Thank you all for realy good answers and explanations!
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...
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...