Hi,
How can I remove trialing digits from a string ?
this 5
test 556
test5
thank you.
Search found 194 matches
- Fri Jan 05, 2018 12:57 pm
- Forum: Shell
- Topic: SOLVED : Bash remove trailing digits
- Replies: 2
- Views: 18891
- Wed Dec 06, 2017 10:07 pm
- Forum: Servers
- Topic: bind forward one hostname to another host
- Replies: 1
- Views: 25000
bind forward one hostname to another host
Hi,
Do you know how to bind forward one hostname to another host?
I tried :
Do you know how to bind forward one hostname to another host?
I tried :
Code: Select all
foo.example.com. IN A 192.168.1.1
bar.example.com. IN A foo.example.com.
- Wed Sep 27, 2017 9:22 pm
- Forum: SQL
- Topic: Limit digits after decimal points in SQL
- Replies: 1
- Views: 18050
Limit digits after decimal points in SQL
Hello,
I have a database with a lot of numbers,
I try to get the average, that works but I get up to 8 digits behind the decimal point (mostly 0).
I have a database with a lot of numbers,
I try to get the average, that works but I get up to 8 digits behind the decimal point (mostly 0).
Code: Select all
SELECT avg(number) FROM table;
- Tue Mar 28, 2017 8:50 pm
- Forum: HTML
- Topic: wrap long words in table
- Replies: 1
- Views: 20991
wrap long words in table
Hi,
how do I wrap long words in table cell ?
how do I wrap long words in table cell ?
- Tue Mar 14, 2017 8:30 pm
- Forum: PHP
- Topic: end php script
- Replies: 1
- Views: 18844
end php script
Hi,
I would like to know what the best way is to end a script,
in the middle?
Lets say after a if-statement .
thanks,
I would like to know what the best way is to end a script,
in the middle?
Lets say after a if-statement .
thanks,
- Wed Jan 25, 2017 12:38 pm
- Forum: Apache
- Topic: SOLVED: httpd (pid 4561?) not running
- Replies: 2
- Views: 45529
Re: httpd (pid 4561?) not running
Thanks this solved the problem.
I deleted the file,
and restarted the process.
I deleted the file,
and restarted the process.
- Mon Jan 23, 2017 9:38 pm
- Forum: Apache
- Topic: SOLVED: httpd (pid 4561?) not running
- Replies: 2
- Views: 45529
SOLVED: httpd (pid 4561?) not running
Hello,
Can't restart Apache2.. httpd (pid #) not running
Apache has crashed and now I cant restart it.
Can't restart Apache2.. httpd (pid #) not running
Apache has crashed and now I cant restart it.
- Sat Dec 31, 2016 12:38 pm
- Forum: MySQL
- Topic: mysql server not starting
- Replies: 1
- Views: 25140
Re: mysql server not starting
I looked further in the log file and found my problem: 2016-12-30 22:54:37 19461 [Note] InnoDB: 5.6.34 started; log sequence number 303644152183 2016-12-30 22:54:37 19461 [ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0 2016-12-30 22:54:37 19461 [ERROR] I/O error ...
- Fri Dec 30, 2016 10:06 pm
- Forum: MySQL
- Topic: mysql server not starting
- Replies: 1
- Views: 25140
mysql server not starting
Hi, after a reboot of my machine mysql is not strating. I tried it with /etc/init.d/mysql start It tries to start for about 10min, and then goes down again. The log file /var/log/mysql/mysqld.err , Doesn't give much info 2016-12-30 22:54:37 19461 [Note] InnoDB: FTS optimize thread exiting. 2016-12-3...
- Wed Nov 23, 2016 9:15 pm
- Forum: General
- Topic: cannot access /var/spool/cron/crontabs: Permission denied
- Replies: 2
- Views: 25269
Re: cannot access /var/spool/cron/crontabs: Permission denied
Thanks.
I found the problem:
The usergroup of /var/spool/cron
was set to cron instead of crontab.
I don't know how this happened?
Perhaps with and update of cron?
I found the problem:
The usergroup of /var/spool/cron
was set to cron instead of crontab.
I don't know how this happened?
Perhaps with and update of cron?