The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
230 views

Strip out the 'n' \ new line out of the echo to a file [closed]

I have a bash script that pulls a bit of text from an external MySQL database. Most of the times it are 4 lines, each one on his own line. This text (in total) has to be placed into a file. The script ...
0
votes
2answers
182 views

How do I view my website stats via cmd line? [closed]

I use Wordpress for my website. Is it possible to use SSH or such to view the stats on my website? Via cPanel, I can see latest visitors, logs and errors. I just want to be able to view them via ...
-1
votes
1answer
129 views

Power Conditioners and Laser Printers [closed]

Is it safe to plug a laser printer into a power conditioner? In this case, it is a Brother HL-2170W plugged into a Panamax M5400-EX.
0
votes
0answers
389 views

Checkpoint SecureClient VPN : CLI mode

I use a checkpoint secure client to connect to client network. I wish to use command line mode to connect. The problem is that, we use smart cards, which requires pin. At this moment, I am able to ...
0
votes
0answers
67 views

Prevent cronolog from splitting/cutting lines?

I'm using cronolog to dump my output into datetime stamped files (after asking here on SF). However cronolog will split a line in the middle and spread one line across multiple files if the input ...
0
votes
2answers
3k views

Servers rejecting mails with “500 Line limit exceeded”

I am dispatching a few mails (mainly order confirmations) from a webshop using a php mail class. The mails are sent via a local Exchange/SMTP server. In the majority of cases this works fine and ...
1
vote
1answer
401 views

mysql won't run from command line

When trying to run the /etc/bin/mysql command from the command line, I'm returned to the prompt without any action. Restarting mysql via /etc/init.d/mysql restart shows the following error during the ...
0
votes
2answers
177 views

Getting \r\n newlines to display properly in Mantis database

I've exported a Mantis project from one server to another and despite the MySQL SQL file (from which it was populated) showing: (15375,'\r\n1. Log out\r\n\r\n2. When logging in, start ... The final ...
2
votes
2answers
461 views

How do I allow local network access to a second dedicated webserver line?

In my office we have two separate internet lines. One is for the general office internet, and the other is a dedicated line for the webserver. I've tried to connect the dedicated into our switch using ...
1
vote
4answers
2k views

Changing the shell (using chsh) via the command line in a script

In a startup script that sets up a machine, I want to run chsh -s /bin/zsh However, this asks for the user's password. How do I pass in the password as a parameter? Or if I have sudo power, can I ...
0
votes
4answers
324 views

What is the best Linux comand line server monitoring tool [closed]

I have a desktop at my house that has a SSH shell running htop that i use to keep an eye on my remote server. Do you know of any other tools that run in a shell that give more of an overview of the ...
3
votes
3answers
2k views

Linux: cat with separators among files

In Linux if you type cat *, you will get something like this: line1 from file1 line2 from file1 line1 from file2 line1 from file3 line2 from file3 line3 from file3 What I would like is to display ...