Skip to main content

Posts

Showing posts from December, 2009

Clearcase undelete file

Suppose user has mistakenly deleted file /org/projects/rahul/data.xml. To get back the file in clearcase revision, do following steps: From a dynamic view, go to /org/projects/ folder. /org/projects$ cleartool desc rahul This will print information like, directory version "rahul@@/main/3" created 2009-12-30T04:02:42-05:00 by Rahul Singhai (singrahu@gmail.com) "Version created by Namespace modification subsystem Uncataloged file element "data.xml"." Element Protection: User : rahul : rwx Group: singhai : rwx Other: : --- element type: directory predecessor version: /main/2 Get lastest version of affected folder and type /org/projects$ cleartool rmver -ver /main/3 rahul This will remove latest version from clearcase, and folder will rollback to previous version.

Install Flash player 10 debugger verion in Linux

Installing Flash player 10 debugger version in Linux, by running $sudo ./flashplayer-installer command, gives following error: [: 258: closing paren expected ERROR: Your glibc library is older than 2.3. Please update your glibc library. To fix the problem, make file flashplayer-installer writable and edit it. Comment the if-else condition in check_glibc() method, as follows: # if [ \( $GLIBCMAJOR -ge $MIN_GLIBCMAJOR \) -a \( $GLIBCMINOR -ge $MIN_GLIBCMINOR \) ]; then echo "valid-glibc" # else # echo "invalid-glibc" # fi Save the file and run it.