2
votes
2answers
423 views

Is there any way to convert a putty “All session output” log, with control characters, to a more human readable “Printable output” log?

We had a contractor in-house to help with some configuration of a product and we're trying to look through the putty logs he set up for us, but instead of using "printable output" he used "all session ...
6
votes
3answers
6k views

Nginx enable site command

We all know how to enable a website using apache on linux. I'm pretty sure that we all agree on using the a2ensite command. Unfortunately there is no default equivalent command comes with Nginx, but ...
1
vote
2answers
365 views

Problems with commands to configure the NAT on CISCO ubr7200 series

I have a Cisco uBR7200 series CMTS with these features: Cisco Internetwork Operating System Software IOS (tm) 7200 Software (uBR7200-K8P-M), Version 12.3 (9a) BC9, RELEASE SOFTWARE (fc1) Cisco ...
0
votes
1answer
103 views

Super simple question about about command line '$ node example.js'

So I'm working on my first node.js 'Hello World' on a linux machine and I successfully got everything going by running $ node example.js I went to the browser and everything worked fine. Going ...
2
votes
4answers
980 views

Handy parsing for numbers with unit suffixes?

Let's say you have data with quantities in human-readable format, such as the output of du -h, and want to further operate on those numbers. Let's say you want to pipe your data through grep to do a ...
0
votes
4answers
271 views

Removing old cache files - command help

I'm trying to write a command to help clear up old cache asset files. The files are always either .css,.javascript,.css.gzip or .javascript.gzip and i want to delete all files older than 2 days old. ...
2
votes
2answers
1k views

Batch file to call multiple batch files and keep going after errors

I have a batch file like this, the issue that I have is that if the first batch file fails, the second one never gets started, how can I get them to both keep going? @echo off MapNetworkDrive_J.cmd ...