首页
未来题库
→
标签
→
file
file
1.
File类提供了一系列方法,用于操作其内部封装的路径指向的文件或者目录,当File对象对应的文件不存在时,使用哪个方法将新建的一个File对象指定到新文件中。()
2.
File类中的list()方法用于得到所有子目录下的File类型对象。
3.
tar –xvf file.tar解压 tar 包 tar -xzvf file.tar.gz解压 tar.gz tar -xjvf file.tar.bz2 解压 tar.bz2
4.
将一个文件file的权限更改为-rwxrwxrwx,可以使用chmod 777 file命令。
5.
如果一个文件以Output模式打开,但是该名字的文件已经在硬盘目录中存在,那么后者的所有内容都会被删除。If a file is opened in output mode, but the name of the file already exists
6.
如果要改变顺序文件中的单个记录,那么整个文件都要被改写到一个临时文件中。If you want to change a single record in a sequential file, the entire file will be rewritte
7.
It is only the buyer that may file a claim.