Posts tagged cli
Creating a Symbolic Link
0Symbolic links or soft links is a special type of file that contains a reference to a file or directory in the form of an absolute or relative path. In other words it’s like a shortcut for those Windows users out there.
I’ll be using CentOS for this tutorial but it’s the same on all distributions of Linux and Unix. (more…)
Google+
Channel Bonding on CentOS 6.2
0Channel bonding is also known as Network Bonding. It involves pairing network devices to increase throughput or load balance. Cases that you’d need something like this would be on a server with a high network traffic. Mostly I’ve had this problem with monitoring servers that are running Cacti and Nagios.
Also the devices don’t have to be the same brand.
(more…)
Find the Linux Distribution Name and Version
0How do I find my Linux distribution name and version? I often find myself asking that question because we have multiple environments with a lot of VM’s running. It’s becomes a lot to keep track of if you haven’t completed the documentation for the environment yet.
(more…)
Redirection operators
1Have you ever run a script and it goes too fast to see the output or there’s too much output and you can’t scroll back far enough. Then you need redirection.
The one I use the most would be to direct standard output to a text file for reference later. (more…)
Google+
The du command
0I recently passed the LPIC 101 exam so I thought I’d share a little bit of what comes in the first exam. The two things in this post that were part of the exam would be du with the –max-depth option.
The du or disk usage command will estimate the amount of space being used by the files and directories within the current directory. The individual file sizes will just be a cumulative size shown with the directory as a whole.
If you’d like the full write-up about the du command then you could check the manual pages.
[root@localhost:/home]# man du
I’ll list the most useful options to use with the du command in this post.
Google+