⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Dir
/
Edit File: chdir-c.ri
U:RDoc::AnyMethod[iI" chdir:ETI"Dir::chdir;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"GChanges the current working directory of the process to the given ;TI"Gstring. When called without an argument, changes the directory to ;TI"Athe value of the environment variable <code>HOME</code>, or ;TI"F<code>LOGDIR</code>. SystemCallError (probably Errno::ENOENT) if ;TI")the target directory does not exist.;To:RDoc::Markup::BlankLine o; ; [I"CIf a block is given, it is passed the name of the new current ;TI"Cdirectory, and the block is executed with that as the current ;TI"Jdirectory. The original working directory is restored when the block ;TI"Gexits. The return value of <code>chdir</code> is the value of the ;TI">block. <code>chdir</code> blocks can be nested, but in a ;TI"Imulti-threaded program an error will be raised if a thread attempts ;TI"Eto open a <code>chdir</code> block while another thread has one ;TI"Hopen or a call to <code>chdir</code> without a block occurs inside ;TI"Da block passed to <code>chdir</code> (even in the same thread).;T@o:RDoc::Markup::Verbatim; [I""Dir.chdir("/var/spool/mail") ;TI"puts Dir.pwd ;TI"Dir.chdir("/tmp") do ;TI" puts Dir.pwd ;TI" Dir.chdir("/usr") do ;TI" puts Dir.pwd ;TI" end ;TI" puts Dir.pwd ;TI" end ;TI"puts Dir.pwd ;T:@format0o; ; [I"<em>produces:</em>;T@o;; [ I"/var/spool/mail ;TI" /tmp ;TI" /usr ;TI" /tmp ;TI"/var/spool/mail;T; 0: @fileI" dir.c;T:0@omit_headings_from_table_of_contents_below0I"WDir.chdir( [ string] ) -> 0 Dir.chdir( [ string] ) {| path | block } -> anObject ;T0[ I"(*args);T@4FI"Dir;TcRDoc::NormalClass00
Simpan