A Linux SysAd Blog
This blog covers linux installation tips, howtos, guides, linux workarounds and charms, system administration, troubleshooting, cli linux command examples and more! |
|
Statistics
Unique Visitors:
Total Unique Visitors:
Outgoing:
Total Outgoing: |
28
0
64
15902 |
|
|
Articles from A Linux SysAd Blog |
HowTo: Delete Extra Spaces Between Words From Files
2008-01-18 06:42:00
Have you encountered a text file full of words separated by multiple extra space between words? Mostly, these files are caused by data export mechanism by some application processing software.
Now, here's how to remove and delete those multiple and extra spaces between words of a file.
# cat...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Find Hidden Directory Folders Recursively
2008-01-18 06:27:00
The title says it all, how to find hidden directory folders recursively.
There are times we need to list down all hidden directories from a file system or display all hidden directory folder from a client home folder, this task can simply be done using linux find command.
How to find hidden...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Create Hidden Directory Folder
2008-01-18 06:13:00
From linux command line terminal, here's a quick tip on creating a hidden directory folder from your hard drive.
Simply issue the following to create a hidden directory from linux terminal window.
Let us do it from temporary folder
# cd /tmp
Then create the hidden directory folder
# mkdir...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Print Only Lines of Text File with N characters
2008-01-18 05:25:00
Let us assume we have a large text configuration file, and we need to display and print ONLY the lines that has more than 20 characters per line, how can we do that from command line terminal?
Selective Display of Lines From Text File
Here's how to print the lines of a text file that only exceeds...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Sort Files by FileSize and What Else?
2008-01-18 04:44:00
If you have thousands of email users and you wish to get email alerts of the top 10 largest mail box users from your email without using any other external linux software, here's how to accomplish this task. This task can also be used to check for top largest files of your hard drive from linux...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Squeezed Out Multiple Lines From Text File
2008-01-18 03:11:00
If you have a text file with multiple lines running between each set of words or pharagraph, here's how to convert those multiple line breaks into single line breaks and totally remove paragraph lines, new lines or return lines inside text files.
Supposed you have a cluttered text file or...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Prevent Binary Execution From Mounted Device
2008-01-18 01:30:00
Most probable reasons of leaving a post-compiled trojan programs after successfully exploiting a system is brought about by small percentage of having increased security by root not to enable user from compiling a program source, or run executable scripts and binary programs from particular device....
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Determine Domain's Expiration Date From Linux Terminal
2008-01-17 14:21:00
Determining domain expiration is also part of an IT web-enabled infrastructure. There are a lot of window softwares that queries the internet for the domain's expiration date.
Here's an easy way on how to display your domain's expiration date using linux terminal command in a single shot.
Check...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Create and Overwrite Existing Alias
2008-01-17 13:31:00
An existing linux command exists from linux binary folder, and this command when executed display a result which is not complete for your regular daily task. Simply to say, you need to add or delete its default command parameter when executed. Worry not, here's an entry to create and/or overwrite...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Get MAC Address of PCs Around
2008-01-17 09:17:00
IP address inventory and management could be part of your regular task. This may include MAC address inventory for network cards and host identification.
Here's a quick blog entry on retrieving MAC Address the network card of each host inside your local broadcast network.
To retrieve and fetch...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: List Out Hidden Files and Hidden Directory Folder
2008-01-17 08:54:00
Quick tip.
It is strange to know that the default ls alias command from other linux distro does not show hidden directories by default.
Here's an entry on how to find hidden files of a particular directory.
Simply issue
# ls -a
# ls -la
The -a tells ls to include hidden directory folders...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Identify Valid Login Shells
2008-01-17 08:47:00
Here's a quick tip on listing out and identifying all the shells available from a Fedora box.
This file is also responsible for keep a record of all available and valid login shells root can delegate to a particular system account. This file is also being consulted by other programs to determine...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Deny User from Logging Into Your System
2008-01-17 08:10:00
There are times when you need to prevent a particular bash-enabled user to login temporarily into your system, without completely deleting his account, here's an entry to do that.
This entry can be helpful for a situation wherein you need to temporarily prevent bash-enabled users from logging into...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Remove Tabs From Text Files Completely
2008-01-17 07:56:00
Here's how to remove tabs or tab characters completely from a file.
# cat testfile.txt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a a a a
b b b b
c c c c
123 123 123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Let us be verbosed...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
HowTo: Convert Tabs In Each File To Spaces
2008-01-17 07:38:00
Converting tab characters to space characters can be done quite easily in linux. This task can be handy on removing tab characters in a file and convert them to specified space characters at the same time.
If you have just exported an article or data into a file with tab-columnized or...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
...
|
|
|