Linux Configuration and Diagnostic Tools

untitled System and Network Configuration * linuxconf – A GUI interactive interface available on Redhat 6.0 or later which includes netconf configuration. * netconf – A GUI interactive interface available on Redhat 6.0 and later. * kbdconf – A Redhat Linux tool which configures the /etc/sysconfig/keyboard file which specifies the location of the keyboard map… Continue reading Linux Configuration and Diagnostic Tools

Give me the most current file

I needed a quick way to maintain a current symlink to the most recent file by time stamp. Here’s one way to do it: ls -t1 *.jpg | head -1 | xargs -i ln -sf {} current.jpg

#!/bin/bash

I think the number one skill a sysadmin should have is a solid understanding of shells and shell scripting. The Advanced Bash-Scripting Guide is a good place to start or take a refresher. From the introduction: A working knowledge of shell scripting is essential to anyone wishing to become reasonably proficient at system administration, even… Continue reading #!/bin/bash

Restarting Mail Enable through Plesk (Windows)

In order to restart the Mail server [Mail Enable], please use these steps.  1) Login To Remote Desktop >> “Plesk Services Monitor” [ Right side in the task bar] >> Check the box “Mail Server” >> Click on Restart. OR 2) Login To Remote Desktop >> Start >> Run >> type ” services.msc ” From here, you have… Continue reading Restarting Mail Enable through Plesk (Windows)

Service/Daemon Management

restarting/stopping/starting a service On any init.d based linux distro you can restart a service with the following… /etc/init.d/serviceName restart You may replace ‘restart’ with ’stop’ or ’start’ (and in some cases ’status’). Forcefully stopping a service killall processName Killing on instance of a service kill pid The pid can be gathered by either top or… Continue reading Service/Daemon Management

Published
Categorized as Basics