Supposed you are implemented done with all your codes(c is the alias for cleartool):

  • New version adds to exist file in VOB
  1. kco -c "comments" file
  2. cp file.updated file
  3. kci -c "comments" file
  • Add new file element to VOB - also needs check out parent Dir
  1. kco -c "comments" dir-parent
  2. c mkelem -c "comments" filename
  3. kci -c "comments" filename
  4. kci -c "comments" dir-parent
  • Add new directory element  to VOB
  1. kco -c "comments" dir-parent(this is the exist one)
  2. c mkdir -c "comments" dir-name-new
  3. kci -c "comments" dir-name-new
  4. kci -c "comments" dir-parent
  • Create new symlink and add to VOB
  1. kco -c "comments" dir-parent(this is the exist one)
  2. c ls -s dirink-name dir-original
  3. kci -c "comments" dir-parent
  • Remove exist element from VOB
  1. kco -c "comments" dir-parent
  2. c rmname -c  "comments" element
  3. kci -c "comments" dir-parent
  • Change comments and attribute
  1. c chevent -replace -c "comment" filename
  2. c mkattr -replace attr_name '"comment"' filename

Clearcase Key commands check in code on linux的更多相关文章

  1. 5 commands to check memory usage on Linux

    Memory Usage On linux, there are commands for almost everything, because the gui might not be always ...

  2. Common administrative commands in Red Hat Enterprise Linux 5, 6, and 7

    https://access.redhat.com/articles/1189123 Common administrative commands in Red Hat Enterprise Linu ...

  3. MySQL主从复制中断,报“Error on master: message (format)='Cannot delete or update a parent row: a foreign key constraint fails' error code=1217” 错误

    前几天,发现从库挂了,具体报错信息如下: 分析思路 1. 因为我采用的是选择性复制,只针对以下几个库进行复制: card,upay,deal,monitor,collect.所以,不太可能出现对于sa ...

  4. check source code after macro expand

    Some time I'd like check source code after macro expand. We can use -E option to stop after the prep ...

  5. 12 Useful “df” Commands to Check Disk Space in Linux

    On the internet you will find plenty of tools for checking disk space utilization in Linux. However, ...

  6. 8 commands to check cpu information on Linux

    https://www.binarytides.com/linux-cpu-information/

  7. Each child in an array or iterator should have a unique "key" prop. Check the render method of `CreditCategoryModal`

    参考地址:http://f00sun.com/category/react

  8. Kafka use zkCli.sh to check topic offset on linux

    > ./zkCli.sh -server zk1host:port,zk2host:port,zk3host:port >help ZooKeeper -server host:port ...

  9. [Python2.x] 利用commands模块执行Linux shell命令

    用Python写运维脚本时,经常需要执行linux shell的命令,Python中的commands模块专门用于调用Linux shell命令,并返回状态和结果,下面是commands模块的3个主要 ...

随机推荐

  1. [Spark]Spark-streaming通过Receiver方式实时消费Kafka流程(Yarn-cluster)

    1.启动zookeeper 2.启动kafka服务(broker) [root@master kafka_2.11-0.10.2.1]# ./bin/kafka-server-start.sh con ...

  2. Pyinstaller打包scrapy

    环境 Windows7 Python3.65 scrapy1.74 PyInstaller3.5 创建打包脚本 在与scrapy.cfg同路径创建start.py # -*- coding: utf- ...

  3. CSPS Oct目标

    超过skyh 删了一些sb话,不过目标不会变的

  4. NOIP模拟 29

    T1第一眼觉得是网络流 看见4e6条边200次增广我犹豫了 O(n)都过不去的赶脚.. 可是除了网络流板子我还会什么呢 于是交了个智障的EK 还是用dijkstra跑的 居然有50分!$(RP--)$ ...

  5. js取两位小数点

    var money = one.money; var tmoney = money.substr(0,money.indexOf(".")+3);

  6. m99 然而并没有想出来标题!

    这是放假回来的第一次考试,如同往常一样,我每逢放假回来第一次考试就会废掉,这次也不例外 这次不想粘成绩,因为实在是rp没了! 之前的几次都是别人在CE等等被lemon砍分,而我被lemon多测分. 但 ...

  7. [转载]【转】教你如何实现linux和Windows之间的文件共享,samba的安

    原文地址:[转]教你如何实现linux和Windows之间的文件共享,samba的安装与配置作者:铅笔小蜡 本人在虚拟机下装fedora13,已经实现.1. 首先检查os是否安装好了samba. [r ...

  8. Abp vNext 自定义 Ef Core 仓储引发异常

    问题 在使用自定义 Ef Core 仓储和 ABP vNext 注入的默认仓储时,通过两个 Repository 进行 Join 操作,提示 Cannot use multiple DbContext ...

  9. T-SQL Part XII: Access Remote SQL Server

    要链接远程的SQL Server,需要一下几个步骤(以下的步骤都是在远程系统上进行): 确认远程SQL Server所监听的端口号 官方的文档是使用SQL Server Configuration M ...

  10. [LC]35题 Search Insert Position (搜索插入位置)

    ①英文题目 Given a sorted array and a target value, return the index if the target is found. If not, retu ...