Linux vs. Unix: What's the difference?
If you are a younger Linux admin, you may have never worked on a Unix system, unlike your older compatriots who cut their teeth on it. Unix is the foster parent of Linux and knowing your Unix and it's history will enrich your Linux experience.
https://opensource.com/article/18/5/differences-between-linux-and-unix
Tuesday, 22 May 2018
Sunday, 20 May 2018
Linux for sysadmins | Linux from the command line -- Managing MySQL databases and users from the command line
Linux for sysadmins | Linux from the command line -- Managing MySQL databases and users from the command line
Databases are for much more than just Enterprise data storage. They can provide really useful services for all kinds of things, including the operating system and many popular applications and services. At some point in your Linux journey, you will be faced with using one. Don't worry, it's not that hard, there's lots of help out there, and it's cool to be able to do at least the basics for yourself.
Databases are for much more than just Enterprise data storage. They can provide really useful services for all kinds of things, including the operating system and many popular applications and services. At some point in your Linux journey, you will be faced with using one. Don't worry, it's not that hard, there's lots of help out there, and it's cool to be able to do at least the basics for yourself.
Linux from the command line -- Getting to the bottom of things with tail
Linux from the command line -- Getting to the bottom of things with tail
How often have you had some huge file or log file that you had to scroll through forever or spacebar till your fingers are sore with more?
Tail to the rescue.
https://www.howtoforge.com/linux-tail-command/
How often have you had some huge file or log file that you had to scroll through forever or spacebar till your fingers are sore with more?
Tail to the rescue.
https://www.howtoforge.com/linux-tail-command/
Saturday, 19 May 2018
Linux from the command line | Linux tips & tricks -- Handy bash shortcuts
Linux from the command line | Linux tips & tricks -- Handy bash shortcuts
I guarantee at least one of these will be an "Oh wow, I wish I'd known about that one a long time ago!" moment for you.
https://www.tecmint.com/linux-command-line-bash-shortcut-keys/
I guarantee at least one of these will be an "Oh wow, I wish I'd known about that one a long time ago!" moment for you.
https://www.tecmint.com/linux-command-line-bash-shortcut-keys/
Learning Linux | Linux from the command line -- Compiling your own code
Learning Linux | Linux from the command line -- Compiling your own code
There are those that will tell you that you're not a real Linux user until you've compiled code for yourself. I guess I'm probably one of them.
There are lots of reasons to do this. For us old school Linux guys, you didn't used to have a choice. Back in the day you just had to compile some code from source in order to get a working Linux system installed and running. Later you had some choice in the matter, but you still compiled some key system components and libraries so that you could heavily optimize the output binaries for your specific hardware. This was because computers were slower and more resource constrained and every little bit of performance you could wring out of them was welcome. The next stage was only having to compile your own kernel to support your hardware configuration. Then modular kernels happened and the days of having to compile anything were over.
Now it comes down to mostly two cases. One is compiling code you wrote yourself, in which case you don't need this tutorial. The other case is when you've found a piece of software you've just got to have but that isn't available for your Linux distro or hardware setup or is only available in source form.
So, when that happens, here you go.
Pro Tip: My personal formula for the "-j" option is:
nproc*2-1
So if you have a 4 core processor, use make -j7
And these days, systems are pretty fast so it doesn't hurt to throw -03 in the command line, or at least -02.
http://www.linuxandubuntu.com/home/basics-of-compiling-software-from-source-code-in-linux
There are those that will tell you that you're not a real Linux user until you've compiled code for yourself. I guess I'm probably one of them.
There are lots of reasons to do this. For us old school Linux guys, you didn't used to have a choice. Back in the day you just had to compile some code from source in order to get a working Linux system installed and running. Later you had some choice in the matter, but you still compiled some key system components and libraries so that you could heavily optimize the output binaries for your specific hardware. This was because computers were slower and more resource constrained and every little bit of performance you could wring out of them was welcome. The next stage was only having to compile your own kernel to support your hardware configuration. Then modular kernels happened and the days of having to compile anything were over.
Now it comes down to mostly two cases. One is compiling code you wrote yourself, in which case you don't need this tutorial. The other case is when you've found a piece of software you've just got to have but that isn't available for your Linux distro or hardware setup or is only available in source form.
So, when that happens, here you go.
Pro Tip: My personal formula for the "-j" option is:
nproc*2-1
So if you have a 4 core processor, use make -j7
And these days, systems are pretty fast so it doesn't hurt to throw -03 in the command line, or at least -02.
http://www.linuxandubuntu.com/home/basics-of-compiling-software-from-source-code-in-linux
Friday, 18 May 2018
Linux from the command line -- Letting your scripts compare things with test
Linux from the command line -- Letting your scripts compare things with test
The Linux shell is a powerful thing. It's almost a programming language and provides the user with the ability to compare things, make decisions based on the outcome, etc. just like a real programming language.
The 'test' command is a part of that capability.
https://www.howtoforge.com/linux-test-command/
The Linux shell is a powerful thing. It's almost a programming language and provides the user with the ability to compare things, make decisions based on the outcome, etc. just like a real programming language.
The 'test' command is a part of that capability.
https://www.howtoforge.com/linux-test-command/
Tuesday, 15 May 2018
Linux from the command line -- Using rsync to copy only new or changed files
Linux from the command line -- Using rsync to copy only new or changed files
https://www.tecmint.com/sync-new-changed-modified-files-rsync-linux/
https://www.tecmint.com/sync-new-changed-modified-files-rsync-linux/
Subscribe to:
Posts (Atom)