Novice Linux / Unix System Administrator Tutorials

These tutorials assumes that you have basic understanding of Unix like operating systems and you are familiar with – Unix/Linux and its commands at the user level, know how to edit files, familiar with the Bourne shell/Bash/Ksh shell, know how to perform standard file processing tasks (such as find/move/copy/delete/) and so on. ( rss feed )

I made changes to the httpd.conf file. How do I reload the new config changes without restarting the Apache 2 web server under Debian / CentOS Linux operating systems?

{ 2 comments }

I am a new Linux user. I have text files with lots of empty lines. How do I delete all empty lines under Linux or Unix operating systems?

{ 1 comment }

How do I match dot files under Unix / Linux using bash shell? Why .* considered as harmful when matching dot files under bash shell?

{ 4 comments }

I am a new Unix user. How do I rm (remove) all files in a directory called personal-files under Unix like operating systems?

{ 3 comments }

How do I find out number of arguments passed to my bash function called foo() under Unix like operating systems?

{ 1 comment }

I have the following message whenever I use the apt-get command under Debian or Ubuntu Linux:

The following packages were automatically installed and are no longer required:
libaccess-bridge-java libjs-mochikit python-cheetah libjs-excanvas
libaccess-bridge-java-jni sabnzbdplus-theme-smpl tzdata-java
ca-certificates-java
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

How do I fix this issue? Is it safe to remove all unwanted packages?

{ 1 comment }

How do I check if a directory exists in a shell script under Linux or Unix like operating systems?

{ 1 comment }