码迷,mamicode.com
首页 >  
搜索关键字:cut -d -f    ( 5015个结果
POJ2914 Minimum Cut 【全局最小割】(Stoer_Wagner)
Minimum Cut Time Limit: 10000MS   Memory Limit: 65536K Total Submissions: 7610   Accepted: 3203 Case Time Limit: 5000MS Description Given an undirected graph, in w...
分类:其他好文   时间:2014-08-29 18:17:38    阅读次数:182
linux命令汇总
文件目录相关操作basename 打印文件基本名cat 读出文件到标准输出tac 反向输出文件chgrp 改变文件群组chmod 改变文件的mode位chown 改变文件的所有者cp 拷贝cpio 从tar档案拷贝或拷贝到tar文件里去cut 读取部分文件内容dd 转换或复制文件ls 列出目录文件信...
分类:系统相关   时间:2014-08-27 20:18:18    阅读次数:341
shell中的时间值提取(date)
vidate.sh#!/bin/bashd=/bin/date$d$d+%Y$d+%D|cut-d"/"-f1$d+%d$d+%H$d+%M$d+%S./date.shWedAug2717:31:22CST201420140827173122
分类:其他好文   时间:2014-08-27 18:57:38    阅读次数:171
查找生成的目录
vidir-listening.sh#!/bin/bash#commanddate="/bin/date"ha="/usr/bin/hadoopfs-ls-d"#vary=`$date+%Y`m=`$date+%D|cut-d"/"-f1`d=`$date+%d`h=`$date+%H`dir="/cstreaming/DAT/${y}${m}${d}${h}*"$ha$dir|grep-v-ifound|awk‘{print$6,$7,$8}‘./dir-listening.sh2014-08-2717:0..
分类:其他好文   时间:2014-08-27 18:56:00    阅读次数:188
UVA - 1435 Business Cards (数论)
Description Running a paper shop is not an easy job, especially with harsh customers. Today they brought their own rectangular sheets of paper, asking you to cut it into rectangular business cards ...
分类:其他好文   时间:2014-08-27 18:52:38    阅读次数:314
[Linux]可用于管道操作的命令
管道命令——|command1 | command2 | command3注:管道命令必须能够接受来自前一个命令的数据成为standard input继续处理。cut 将一段信息的某一段切出来,处理的信息是以行为单位。cut -d '分割字符' -f fieldscut -c 字符范围参数:-d :...
分类:系统相关   时间:2014-08-24 20:52:03    阅读次数:250
利用Shell命令获取IP地址
一 :获取单个网卡的IPv4地址,方法如下:方法一:$/sbin/ifconfig ethX | awk '/inet addr/ {print $2}' | cut -f2 -d ":" 方法二:$/sbin/ifconfig ethX | awk '/inet addr/ {print $2}....
分类:其他好文   时间:2014-08-21 19:08:44    阅读次数:161
Prime Cuts(poj1595)
/*Prime Cuts Description A prime number is a counting number (1, 2, 3, ...) that is evenly divisible only by 1 and itself. In this problem you are to write a program that will cut some number of pri...
分类:其他好文   时间:2014-08-21 17:14:24    阅读次数:283
[POJ 1011]Sticks(DFS剪枝)
Description George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many stick...
分类:其他好文   时间:2014-08-21 17:10:44    阅读次数:335
PADS经验总结
PADS经验总结 1. 快捷键z+数字,能够快速查看相应层;直接z,会显示所有层; 2. 快捷键l+数字,在走线时能够快速切换层; 3. setup->design Rules能设置线宽,DRC规则以及网络线宽; 4. Drafting Toolbar->Board Outline and cut ...
分类:其他好文   时间:2014-08-21 01:31:53    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!