Making Sudo work Smart!! – sudo without password prompt May 25, 2010
Posted by networknuts in Uncategorized.Tags: linux delhi, linux india, linux training, linux video, networknuts, networknuts.net, rhce, rhce delhi, rhce video, rhcss, rhcss delhi, rhcss training, rhcss video, sudo, sudo command
1 comment so far
This is a Video that shows how to configure sudo in such a manner that it should not prompt the user to enter the password again.
For a text version of this post, please visit
www.networknuts.net
God Bless
Using IPTables to limit the number of connections – VIDEO!! May 17, 2010
Posted by networknuts in Uncategorized.Tags: iptables tutorials, iptables with connlimit, linux delhi, linux tutorials, networknuts, rhce, rhce video, rhcss, rhcss video, www.networknuts.net, xt_connlimit
add a comment
Video showing how to use IPTables to limit the number of TCP connections to your linux machine. Its a very generalized configuration and can be applied to any server configuration.
God Bless.
Making Directory Listing – Make Sense !! March 28, 2010
Posted by networknuts in 1.Tags: linux delhi, networknuts.net, redhat, redhat linux, rhce, RHCE COURSE, rhce delhi, rhce india, rhce video, rhcss, rhcss delhi, rhcss india, rhcss video, www.networknuts.net
add a comment
Normally when we give “ls -l” command or “ll” command it shows us all the files and directories in alphabetic order.
Sometimes it will be pain in the neck, if you are looking for a directory or looking for file. (as it will show you both)
There is as such no command available (to my knowledge) which will show you directories only and files only, as per your specification.
But we can do a SMALL tweak, to make our job easier.
Here is the command to view directories only :
ls -l | egrep '^d'
And, here is the command to view files only :
ls -l | egrep -v '^d'
You can also create some alias for these big command, as it is not practically good to write the same code again and again
alias llf="ls -l | egrep -v '^d'"
alias lld=ls -l | egrep '^d'"
You can always use “.bash_profile” file to make these aliases permanent.
PS: Check out – http://www.youtube.com/user/networknutsdotnet
for video of this small trick.
For more tips and trick on linux – www.networknuts.net
God Bless.