How Do I Search for Files on linux ? find / -name “kartook” -print This command tells find to start looking in the root directory of the filesystem. (/) for files named (-name) kartook and then to print (-print) the full name of each file it finds.
To change or set the enable password to P@s5wo61): config t enable secret p@s5w061 The enable pasword P@s5wo61) command will also set the enable password, but will leave the password in plain text and visible in the router configuration. This is not affected by the service password-encryption setting.
$ cp kartook.conf.backup kartook.conf $ cp stuff stuff.bak Note: The cp command will overwrite files with the same name without warning. To be prompted before overwriting, use the -i flag, like so: $ cp -i kartook.conf.backup foldername/kartook.conf cp: over kartook.conf.backup foldername/kartook.conf (y/n)? Renaming Files Use the mv command to rename a file or move […]
I was facing a problem to login the ESX through winSCP client then i found the solution .. Go to the service console on the physical server & login vi /etc/ssh/sshd_config Change the line that says PermitRootLogin from “no” to “yes” do service sshd restart And my problem was solved… I don’t have any problems […]
Step 1: Close all programs. This will keep the computer from slowing down or freezing when removing the RPM package. It allows the computer to focus on this one task and allow it to finish quickly and accurately. This is a technique you should use whenever removing or installing any programs. Step 2: Open a […]
Script used to fwd ips from squid proxy server iptables -t nat -A POSTROUTING -s 192.168.0.2(client machine ip address) -j MASQUERADE
The first step in achieving clutter free desktop area is “Hiding icons on desktop”. Gnome provides a way to do that. First open up gconf-editor (Gnome Configuration Editor) by executing following command. gconf-editor Now navigate to /apps/nautilus/preferences and uncheck the tick mark on the option show desktop. As soon as you uncheck the option show […]
To extract a tar.bz2 file, use the command : tar -jxvf filename.tar.bz2 To extract a tar.gz file, the the command : tar -zxvf filename.tar.gz
RMVB (Real Media Variable Bitrate). sudo apt-get install mplayer mencoder librte librte-dev mencoder -oac mp3lame -lameopts cbr=128 -ovc xvid -xvidencopts bitrate=1200 video_input.rmvb -o video_output.avi For Codec error refer HERE mencoder-ovc divx4-Copy-oac filmname.avi filmname.rmvb