find . -name CVS -print | xargs rm -rf
It will delete the CVS directory form the current diroctory.
It will delete the CVS directory form the current diroctory.
find . -name '*.[ch]' > cscope.files //It include the .c file and .h file both
cscope -b
CSCOPE_DB=cscope.out; export CSCOPE_DB
thats it for that we have to alredy install the cscope package in the system.
commands :: ** uname- It is used for the get all the information of the system like the versoin , processor, releasel, O.S,Node,etc. ex: uname -a : it will give all the information of the system. uname -v,r,n,s,o etc..
-----------------------------------------------------------------
links Imp
1.http://principialabs.com/beginning-ssh-on-ubuntu/ (for the ssh login remotly)
using (StreamReader file = new StreamReader(@"C:\Temp\flat_src.txt")) { try { while ((line = file.ReadLine()) != null) { char[] delimiters = new char[] { '|' }; string[] parts = line.Split(delimiters, StringSplitOptions.RemoveEmptyEntries); for (int i = 0; i < parts.Length; i++) { RuntimeWrapper.IDTSConnectionManagerFlatFileColumn100 flatFileCol = connectionFlatFile.Columns.Add() as RuntimeWrapper.IDTSConnectionManagerFlatFileColumn100; sS_AssignColumnProperties(flatFileCol, parts[i], "|"); } //Exit file after reading the first line break; } } catch (Exception ex) { throw ex; } finally { file.Close(); } }Edit the last Flat File column delimiter into NewLine instead of a Comma:
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
if NOT %pass%== 123456 goto FAIL