首页 > 其他分享 >some useful notes for cygwin

some useful notes for cygwin

时间:2023-04-19 18:33:44浏览次数:31  
标签:useful -- notes some grep alias ls java color


useful alias list:
==================
alias grep='grep --color'
alias l.='ls -d .* --color=tty'
alias la='ls -la'
alias ll='ls -l'
alias lr='ls -lrt'
alias ls='ls --color=auto'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
alias vi='vim'
 
useful funcs:
=============
pslist ()
{
    if [ `java_pids | wc -l` -eq 0 ]; then
        echo "No application processes running";
    else
        java_pidlist;
    fi
}
 
java_pidlist ()
{
    java_pids | xargs ps -o pid,ppid,command
}
 
java_pids ()
{
    ps -elfW | grep java | grep -w $ENVIRONMENT_NAME | grep $USER | egrep $CONFIG/\(XXX\|YYY\) | awk -F " " '{print $4}'
}

标签:useful,--,notes,some,grep,alias,ls,java,color
From: https://blog.51cto.com/u_6174294/6207189

相关文章

  • 直播app源码,使用vue-awesome-swiper创建轮播图幻灯片
    直播app源码,使用vue-awesome-swiper创建轮播图幻灯片1.引入引入方式可以参考官方文档,两种方式选一种即可:vue-awesome-swiperatv3.1.3 (1)第一种方式:在main.js入口文件中全局引入 ///src/main.js //swiper全局引入importVueAwesomeSwiperfrom'vue-awesome-swiper'im......
  • vue项目在打包时Some chunks are larger than 500 kBs after minification(一些区块在
    https://blog.csdn.net/qq_45284938/article/details/129707796 加上适应的配置项  根目录上vite.config.ts 文件 outDir:BUILD_DIR,//指定打包文件的输出目录emptyOutDir:true,//打包时先清空上一次构建生成的目录 build:{outDir:BUILD_DIR,......
  • R语言:Some 'from' names in value not found on 'x' 报错
    升级了dplyr后运行命令inter=inter%>%rename("gene"="V4")就一直报错:Some'from'namesinvaluenotfoundon'x',如下所示:Errorinrename(.,gene="V4"):Some'from'namesinvaluenotfoundon'x'......
  • vsomeip部署在Linux
    1.环境准备Ubuntu18.04.6LTSc++编译器编译用的cmake相关的库sudoapt-getinstalllibboost-system1.55-devlibboost-thread1.55-devlibboost-log1.55-devsudoapt-getinstallsource-highlightdoxygengraphvizsudoapt-get--no-install-recommendsinstallasciidoc2.源码......
  • 第九篇 手写原理代码 - 数组 【 实现 forEach、map、filter、every、some 】
    1、forEachArray.prototype.my_forEach=function(callback){for(leti=0;i<this.length;i++){callback(this[i],i,this);}};2、mapArray.prototype.my_map=function(callback){constarr=[];for(leti=0;i<this.length;......
  • GNN-learning-notes
    GNN学习笔记Datetime:2023-04-01T16:28+08:00Categories:MachineLearning目录GCNGraphSAGEGraphAttentionNetwork初学者一定要看:【GNN入门】综述篇-知乎用户MxLVSX的文章-zhihu.com,包括频域和空域、任务类型、经典模型。最早的GNN,介于迭代不动点:https://zhuanla......
  • 关于 fontawesome 库在 Spartacus 项目中的应用
    FontAwesome是一个广受欢迎的开源图标库,它提供了一系列的图标和符号,可以在Web开发中方便地使用。它包含了大量的图标,如社交媒体图标、箭头、菜单图标、表单控件图标、设备图标、通知图标等等。FontAwesome的图标是以矢量方式呈现的,这意味着可以根据需要缩放和变换大小而不会......
  • MySQL导入数据库1118错误解决方案[ERR] 1118 - Row size too large (> 8126). Changing
    MySQL导入数据库1118错误解决方案[ERR]1118-Rowsizetoolarge(>8126).ChangingsomecolumnstoTEXTorBLOB编辑sql文件,在开头设置一下innodb_strict_mode为0SE......
  • 自由挥洒灵感 Sensu画笔让你Draw Something Amazing
    DrawSomething的火爆似乎激发了全民的绘画热情,不少其它的绘画软件也提供了很好的创作舞台。虽然不是所有人都想成为真正的艺术家,但都会喜欢在iPad上获得如纸笔绘画般那种挥......
  • vue "vue-awesome-swiper": "^4.1.1" 的使用
    <!--swiper1--><swiperclass="swipergallery-top":options="swiperOptionTop"ref="swiperTop"><swiper-slidev-for="iteminimg_l......