码迷,mamicode.com
首页 >  
搜索关键字:file which whereis find stat locate    ( 98661个结果
perl special charecter
$_$PROCESS_ID$$read a file line by line#!/usr/bin/perluse strict;use warnings;my $dir ="./tmp";open (FH, ") {print "$_";}
分类:其他好文   时间:2014-07-22 23:09:35    阅读次数:293
(转)linux常用命令
原地址:http://www.cnblogs.com/svage/p/3700122.html1、删除目录及子目录下的 .svn目录 find . -type d -name ".svn" | xargs rm -rf2、/tmp 目录的权限drwxrwxrwt rwt的意思是:对目录有执行权...
分类:系统相关   时间:2014-07-22 23:09:34    阅读次数:552
POI操作EXCEL之导出Excel(设置有效性,下拉列表引用)
本人使用的是poi-bin-3.10-FINAL-20140208.zip 版本的poi以下是程序关键代码://需要引用的类import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;impor...
分类:其他好文   时间:2014-07-22 23:09:34    阅读次数:266
linux获取目录下文件
查看当前目录下的文件:find.-typef查看当前目录下的文件夹:find.-typed如果文件file1不为空:if[-sfile1];thenecho"file1不为空"fi#!/bin/shforfin`find./testdir-typef`;doif[-s$f];thenecho$fis...
分类:系统相关   时间:2014-07-22 23:09:14    阅读次数:407
Single Number
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
分类:其他好文   时间:2014-07-22 23:07:14    阅读次数:337
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-07-22 23:07:13    阅读次数:379
我的grub.cfg配置文件
路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT THIS FILE## It is automatically generated by grub-mkconfig using templates# from /etc/grub.d and settings ...
分类:其他好文   时间:2014-05-01 16:29:15    阅读次数:452
C#,Java,C++中的finally关键字
博客原文:http://hankjin.blog.163.com/blog/static/33731937201031511305338/先说C++,标准C++不支持finally, 如果要实现finally的效果,可以用析构函数来实现: class File_handle { FILE* p;p....
分类:编程语言   时间:2014-05-01 16:17:26    阅读次数:371
Io 异常: Socket closed
java.sql.SQLException: Io 异常: Socket closed at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.Databa...
分类:其他好文   时间:2014-05-01 15:32:15    阅读次数:257
Oracle 创建普通用户,并赋予权限
采用sys or system / manager as sysdba; 连接数据库。创建普通用户konglin: create user konglin identified by pwd_oracle;删除用户, drop user konglin;授予用户登录数据库的权限: grant cre...
分类:数据库   时间:2014-05-01 15:29:35    阅读次数:372
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!