Meta: The State Of Linux Tips #13

Today’s article is just a quick one, a meta article. I try to write one of these every month, at the most, or when things happen around the site that I think folks would be interested in.

So, for a while, there were no Google ads. It turned out a site I added to my AdSense account was considered ‘invalid traffic’, which is a vague term that seems to mean it’s whatever Google says it is when they say it. I resolved that issue.

At that point, ads were being shown again – and I know folks clicked on ’em. My readers are kinda creatures of habit, so I’m positive there were clicks. For whatever reason, Google gave me no credit for those clicks.

Then, the pay period ended… 

It could be coincidence, but the site started generating ad revenue when the pay period ended and a new one began. The site has since been getting credit for your clicks. While I like your clicks, I want to remind folks:

Do not click ads to make me happy. Only click ads if you’re truly interested.

If you’re legitimately interested, feel free to click an ad or two… Otherwise, just don’t click. Thanks for both!

Also, I’ve tried to enable a new feature. It’s provided by Google and it’s a nag for those who block ads. This should be EASILY dismissed and not nag you all that often, like once a month or something like that. If the nag in any way interferes with the functioning of the site, please let me know.

For whatever reason, I can’t seem to trigger the ad block nag screen. This makes it difficult to debug.

Meta Stuff:

So, I originally thought the ‘invalid traffic’ was because this site, Linux-Tips, was getting massive increases in traffic. After all, nobody would define ‘invalid traffic’ well enough for me and the site was definitely growing at a good clip. I figured this was the problem, but I was wrong. It was the other site that I added.

What is this massive traffic? Well, it’s not massive when compared to the big sites, but it’s definitely pretty respectable. Last month we had more than 10,000 unique visitors, and those people visited more than 18,000 times. 

My stats are kinda wonky and I’m thinking it’s counting some bot traffic when it’s counting the pages displayed, because in November it claims we displayed more than 1.3 million pages. That’s a whole lot of pages for those visitor numbers, so I think it’s just not accurate.

The bandwidth has gone up accordingly. I now regularly exceed the free tier at the CDN (quic.cloud). Last month, but seemingly not this month, I had to make another deposit to pay for ‘page optimizations’. So, expenses pile up! You don’t have to donate, but you could if you wanted. I will not complain!

I pay for the CDN so that the site is pretty much always available no matter where you are on the globe, and so that it loads quickly from servers that are closer to your location than my actual server. A quick loading site with high availability seems to be a good idea to me.

Some Data:

The three articles that got the most traffic in the past 28 days is:

Find Out Which Display-Manager You’re Using
How To: Disable Sleep And Hibernation on Ubuntu Server
How To: Restart TeamViewer From The Terminal

I am not sure why those are the most popular articles. They’re not the pages I’d think would be the most popular, but I don’t actually have a clue what I’m doing with this whole SEO thing. I just smash buttons and hope something good comes out the other end.

The three most used search terms to find this site via Google, again for the past 28 days, would be:

screenfetch vs neofetch
permitrootlogin prohibit-password
restart teamviewer command line

That’s technically three out of the top four, as the first one is pretty much the same as what’s listed – it’s just in reverse. Lots of people wanna learn about the differences between the two (screenfetch and neofetch) via Google. Again, don’t ask me why. 

So far this month:

The busiest day is Monday, by a good margin.
The vast majority of my traffic is from the United States.
The average person spends 199 seconds (3 min 19 sec) per visit.
96.1% of my visitors are using Linux.
85.5% are using a browser that identifies as Google Chrome.
Google search accounts for most of my traffic.
Linux.org accounts for the second most, but it’s truly dwarfed by Google results.
Last month we used ~25 GB of bandwidth.

Got any other numbers you’re interested in? If so, leave a comment. I’ll be happy to let you know – if I actually have those numbers. It’s also important to realize that every single stat application (especially ones like Google Analytics) is horribly inaccurate. I rely on AWStat the most, because it’s the closest to accurate for some of these numbers. Google Analytics should not be even remotely trusted – but still has some useful information, useful for spotting trends.

Closure:

And there you have it, you have another nice meta article. I’d actually planned on another article, but I decided I’d watch American football and just write a meta article. It seemed like the thing to do. The next article will be published on Christmas day, so we’ll see if we can do something festive for the holiday.

Thanks for reading my meta article! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Today’s Article Is Just A Lubuntu (And Ubuntu) Membership Update

Today’s article is just going to be a short article about my Lubuntu (and by extension Ubuntu) membership status. It’s only a news/meta article and you can safely skip it. Or you can read on… I don’t mind… It’s just some news.

For starters, you can see when I first joined the Lubuntu team originally:

Meta: I’m Now An Official Lubuntu (And Ubuntu) Member!

What I do, more often than not, is do the live testing for the daily .iso. It’s tedious work, but I enjoy the challenge and have the time. You might want to read:

What it’s Like To Beta-test Linux, Specifically Lubuntu

Now, I do my testing with Lubuntu. I’m also an Ubuntu Member. This is because I have to be an Ubuntu Member to be a Lubuntu Member. If you’re an official member of some of the more recent flavors, that’s no longer true. You can be an official member without official Ubuntu membership.

Membership lasts a a year. My year was up and I submitted a renewal application. I was once again accepted as an official member. 

So, I’m an official Lubuntu (and Ubuntu) Member for another year. Yay!

I’d like to take a moment to invite others to join in helping out their favorite distro. You don’t have to dedicate all your time to it. You don’t  have to be a programmer. If you want, you can get involved – and make an appreciable difference.

So, thus ends this article. I need an easy day once in a while, and now you know my membership status has been renewed. Enjoy the easy day!

Meta: The State Of Linux-Tips #11

Today’s article is yet another meta article, in which I discuss the state of Linux-Tips. It’s basically an easy day for me and an article that lets you know how the site is progressing. It’s generally an easy article to write and I appreciate that.

This is a pretty long article. Longer than most. I do encourage folks to read it all, but I doubt that’ll change anything. 🙂 

As folks may know, I pay a lot of attention to the site’s statistics and those statistics influence how I do things. I try to optimize the site, as best as I can, for the viewer. For example, the day this article will be published is on a Saturday. That’s the day I consistently get the least amount of traffic. So, that’s the day I’ll cover the state of Linux tips.

I’ve actually been wanting to write this article for a while. I’m really excited about some of the changes going on, especially now that Google has taken me out of the dog house for accepting a paid article. Yes, Google, I learned a lesson!

While you might not like that I optimize for Google, that’s where I get the majority of my traffic. I don’t get squat from other search engines, but Google loves my site! For a blog, I’m doing VERY WELL in the traffic growth department. We’ll give you some details below.

So, let’s just jump into the meta stuff and see where that goes.

The State Of Linux-Tips #11:

Let’s just get this started by sharing this:

Oh my! The site’s traffic is increasing rapidly. For example, in the past 28 days (the easiest stats for this), the site has shown up in 227,000 searches. Out of all those, nearly 4,000 people have clicked on those search results and visited Linux-Tips! (That’s actually a good percentage.)

Last month, the month of September, was the first time I’ve exceeded 10 GB of traffic. Now, the site’s mostly text with almost no images and almost no videos. That’s a lot of traffic, and it took  over 9,000 unique visitors to reach that level.

To put that into some contrast, in January of this year I had a total of 6,400 unique visitors. 

Also, in May I hit 7,800 visitors – but then Google threw me into the doghouse for the paid article. In June and July, I got about 7,200 unique visitors. In September, those visitors would visit 14,900 times! It’s amazing how fast the site is growing now that it’s out of the doghouse.

I should also mention that I was getting, in the previous 28 days as a running total, no more than 3,200 visits from Google. In less than the past month, that running total is what is represented by the 4,000 clicks mentioned a couple of paragraphs ago. Google considers this a ‘high traffic site’.

My most popular pages are:

How To: Disable Sleep And Hibernation on Ubuntu Server
How To: Restart TeamViewer From The Terminal
Let’s Learn How To Change The Default Terminal

Previously, the ScreenFetch vs Neofetch was the most popular article, and today it continues to get the most search results. Direct visits can sometimes outnumber that, so that’s why the stat might look a little weird.

I still use a CDN, a Content Delivery Network, for a variety of reasons. The biggest reason is that it means the site loads faster for people around the globe. When you load the site, you’re getting a cached result from a server somewhere near you, instead of needing to access my server directly.

The CDN recently stopped a DDoS attack. There was a CDN free tier but I am no longer in a position where the site fits the free tier, so it costs me even more money. As far as I know, it’s only useful for WordPress sites that use LiteSpeed as the server. That fits this site, so I use it. It works brilliantly, but I now use enough traffic to also have to pay for the CDN service.

It’s worth every penny, given how the site didn’t stumble in the slightest during the attacks. So far, donations only add up to like $10 USD. I do appreciate them and put the money towards hosting and the CDN. There aren’t any other real expenses. Ad revenue does help.

attempted DDoS attack
They gave up not long after, or so that’s what it appears to be. Good… It wasn’t working.

The site’s busiest days are Tuesday through Thursday. I’m not sure why Monday isn’t all that busy? Maybe folks encounter the problem on Monday  and finally find my site on Tuesday? I really don’t know. I do know that I get a lot of traffic from within corporate networks, so that’s professionals searching the site – or entertaining themselves while they should be working.

There really aren’t that many newsletter subscribers. I’m thinking about making it pop up a notice when people visit, but that seems like it might be annoying. On the other hand, it’d likely result in more folks subscribing. Do you find those newsletter popups annoying? Do you sometimes see them and decide to enter your email? I know I do, but I’m sympathetic to others running websites.

From watching the way people work through the site, few scroll down far enough to actually see the newsletter. Putting it at the top seems like a worse idea than a popup. If you have any thoughts on the matter, feel free to leave a comment. I could use some input.

Anyhow…

Closure:

As you can tell, I’m pretty happy about the growth. Not a whole lot of folks click ads, so the site really isn’t making much of anything for ad revenue, but it does make a little. Then again, money wasn’t really the point. I do want the site to at least break even, but I dunno if it’ll ever do that. That’s all I really care about. I don’t want to make money, I have enough. I do want the site to break even, just as a matter of principle. 

Either way, this is the most excited I’ve ever been about a meta article. Things are going great, according to all the stats I keep. As for the stats, don’t worry, I couldn’t single anyone out if I tried. I don’t store any personal information because it just seems like the right thing to do. Your privacy is reasonably assured when you visit. I too value my online privacy – sometimes. Other times I’m an open book, but I like to pick when and where that happens!

Also, in case anyone is confused… I do store any information you give me. But, I only keep what I need to make the site work. I figure if I don’t store information, I can’t lose the information. I obviously store your email address if you sign up for the newsletter or register for the site. It’d be pretty hard for those things to function without that.

The rest of it is information I really don’t care about and don’t care to keep. If you give me your address so that I can send you something, you can be certain that I deleted it afterwards ’cause I don’t want to be in charge of securing that securely.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Meta: The State Of Linux-Tips #10

This is going to be another meta article, where we cover the state of Linux-Tips. This is the 10th such installment, I do believe. I did go back and count at one point, but not all that well or that deeply. Not all meta articles have been the state of Linux-Tips. So, this is #10, even if it’s not #10.

I think the big news is that we’re out of the doghouse with Google. Last month we averaged a few hundred unique visitors every day. This month  looks like it’s going to be even better. I dare say I learned my lesson. 

The site still chews through a bunch of bandwidth, for a site like this. We chew through the CDN data pretty quick. Fortunately, I can cover it when it inevitably goes over the current level. 

I actually got a donation! It was for $5.00. PayPal decided I’m a business account, so they happily took their fees from it. I no longer have access to ‘Friends and Family’ payments. Damn it, PayPal! Though, in their defense, I am a business –  and conducted quite a bit of fee-free business through them in the past. For the services they provide, it’s really not that expensive. Sign up to be a credit card processor and check out those fees!

I was pretty pleased with the donation. I don’t need the money, but it gave me a sense of purpose – of value. It felt good to know I was appreciated. That makes TWO donations! I’m gonna be rich! 

Some Meta Stuff For Linux-Tips:

In the past 28 days the site has shown up in Google searches 180,000 times. Only a little over 3000 people clicked. That was improving from my days in the Google penalty box.

(Keep in mind that Google actually sucks at some of these numbers. I have the raw server logs. They really, really suck with some of them. We’ve actually shown 55,000 pages so far this month alone.)

Most of my traffic comes from Google. They tell me that the vast majority of people are on desktops. The vast majority of visitors arrive from organic search.

The most popular pages have changed. Here are the three most popular pages:

How To: Disable Sleep And Hibernation on Ubuntu Server

Repair Your Linux Filesystem With a Live USB or DVD

How To: Restart TeamViewer From The Terminal

Though, screenfetch vs. neofetch seems to be the article that shows up in search the most. 

Since I’ve was let out of the Google penalty box, I haven’t had a day with less than 200 unique visitors. (That’s a good amount for a fairly new site that doesn’t do a lot of SEO and does no paid promotion.)

We’re sitting at 260 articles, with one being hidden. We’ve had a new article every day since the site first started. Obviously, we’re well past the year I originally set aside for the project.

There are ads here on Linux-Tips and they get the occasional click. Most of my readers are technical users and tend to block ads. It’d be pretty sweet if you’d whitelist this site in your ad blocker. They’re just Google ads. They won’t hurt you. If you were really trying to hide from Google, you’d block their analytics. Meh… Or not… It’s up to you. I’ve long since decided that finances aren’t that important. ‘Snot like I’m going to stop paying in the near future.

Lemme think…

Closure:

Anything else? No? It had been a while since I last did a meta article. I should do them once a month or so. They’re easy enough to write, but they don’t really contain any useful information.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Let’s Talk About Using dos2unix

Today, we’re going to talk about using dos2unix, a tool for converting Windows text files to Unix (Linux) formatted text files. The command isn’t very difficult to use, so this article is more about making you aware of the existence and purpose of said dos2unix. It should be a remarkably short article.

First, we have to go back in time…

Once upon a time, when you reached the end of the line with text, you had to instruct the hardware to start a new line. These were the old days of things like teletype machines and dumb terminals. They needed to be told when to begin a new line.

Well, that still exists in software today. The thing is, if a file was created on Windows it will have two characters denoting when a new line should begin while a file created on Linux will only have one character indicating when a new line should begin. Yay for compatibility issues!

Anyhow… This is why you will sometimes get errors with text files. For example, writing a shell script on Windows and then trying to use it on Linux may result in end of line errors. Windows uses CR (Carriage Return) and LF (Line Feed, you may know it as /n) while Linux (and Unix) just uses LF. This, of course, can cause some confusion for the operating system.

This is where dos2unix comes into play. This is why you’re getting an article about using dos2unix… So, with that in mind…

Using dos2unix:

This article requires an open terminal, like oh so many other articles. If you don’t know how to open the terminal, just press CTRL + ALT + T and your default terminal should open. Tada!

Now, you’ll need to install dos2unix. It probably isn’t installed by default. Just use your package manager’s standard install command and I’m like 99% certain it’s a package available to you by default. For example, in Debian, Ubuntu, and Ubuntu derivatives and flavors, it’s just a simple apt command:

Once you have dos2unix installed, you can convert Windows-created text files to Unix (and thus Linux) formatted text files by fixing the way they end a line and start a new line. That’s really easy. It’s just:

Yup…

Well, I suppose you could also do /path/to/filename.txt if you needed, or you can just navigate to the directory and use the command above. It really is that easy.

There’s more to the dos2unix application, but that’s about all you’re really going to need to know under normal circumstances. It really is that simple. Do check the man page (man dos2unix) for other options, but you’ll see that’s about all you’re gonna need.

Closure:

Like I said, this article is really about making you aware of the problem and solution, so that you can start using dos2unix if and when you need it. It turns out that dos2unix is more than just a contributing forum member on Linux.org, it’s actually a useful application for dealing with Windows files on a Linux box!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.