Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Pathname /
Delete
Unzip
Name
Size
Permission
Date
Action
%2b-i.ri
1
KB
-rw-r--r--
2026-04-07 17:42
%2f-i.ri
253
B
-rw-r--r--
2026-04-07 17:42
%3c%3d%3e-i.ri
830
B
-rw-r--r--
2026-04-07 17:42
%3d%3d%3d-i.ri
474
B
-rw-r--r--
2026-04-07 17:42
%3d%3d-i.ri
488
B
-rw-r--r--
2026-04-07 17:42
absolute%3f-i.ri
645
B
-rw-r--r--
2026-04-07 17:42
ascend-i.ri
1.16
KB
-rw-r--r--
2026-04-07 17:42
atime-i.ri
409
B
-rw-r--r--
2026-04-07 17:42
basename-i.ri
389
B
-rw-r--r--
2026-04-07 17:42
binread-i.ri
477
B
-rw-r--r--
2026-04-07 17:42
binwrite-i.ri
540
B
-rw-r--r--
2026-04-07 17:42
birthtime-i.ri
490
B
-rw-r--r--
2026-04-07 17:42
blockdev%3f-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
cdesc-Pathname.ri
9.5
KB
-rw-r--r--
2026-04-07 17:42
chardev%3f-i.ri
305
B
-rw-r--r--
2026-04-07 17:42
children-i.ri
1.18
KB
-rw-r--r--
2026-04-07 17:42
chmod-i.ri
405
B
-rw-r--r--
2026-04-07 17:42
chown-i.ri
435
B
-rw-r--r--
2026-04-07 17:42
cleanpath-i.ri
772
B
-rw-r--r--
2026-04-07 17:42
ctime-i.ri
446
B
-rw-r--r--
2026-04-07 17:42
delete-i.ri
398
B
-rw-r--r--
2026-04-07 17:42
descend-i.ri
1.17
KB
-rw-r--r--
2026-04-07 17:42
directory%3f-i.ri
311
B
-rw-r--r--
2026-04-07 17:42
dirname-i.ri
387
B
-rw-r--r--
2026-04-07 17:42
each_child-i.ri
1.55
KB
-rw-r--r--
2026-04-07 17:42
each_entry-i.ri
407
B
-rw-r--r--
2026-04-07 17:42
each_filename-i.ri
763
B
-rw-r--r--
2026-04-07 17:42
each_line-i.ri
705
B
-rw-r--r--
2026-04-07 17:42
empty%3f-i.ri
380
B
-rw-r--r--
2026-04-07 17:42
entries-i.ri
1.17
KB
-rw-r--r--
2026-04-07 17:42
eql%3f-i.ri
476
B
-rw-r--r--
2026-04-07 17:42
executable%3f-i.ri
314
B
-rw-r--r--
2026-04-07 17:42
executable_real%3f-i.ri
329
B
-rw-r--r--
2026-04-07 17:42
exist%3f-i.ri
299
B
-rw-r--r--
2026-04-07 17:42
expand_path-i.ri
398
B
-rw-r--r--
2026-04-07 17:42
extname-i.ri
369
B
-rw-r--r--
2026-04-07 17:42
file%3f-i.ri
296
B
-rw-r--r--
2026-04-07 17:42
find-i.ri
799
B
-rw-r--r--
2026-04-07 17:42
fnmatch%3f-i.ri
427
B
-rw-r--r--
2026-04-07 17:42
fnmatch-i.ri
550
B
-rw-r--r--
2026-04-07 17:42
freeze-i.ri
390
B
-rw-r--r--
2026-04-07 17:42
ftype-i.ri
419
B
-rw-r--r--
2026-04-07 17:42
getwd-c.ri
500
B
-rw-r--r--
2026-04-07 17:42
glob-c.ri
527
B
-rw-r--r--
2026-04-07 17:42
glob-i.ri
608
B
-rw-r--r--
2026-04-07 17:42
grpowned%3f-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
join-i.ri
822
B
-rw-r--r--
2026-04-07 17:42
lchmod-i.ri
442
B
-rw-r--r--
2026-04-07 17:42
lchown-i.ri
462
B
-rw-r--r--
2026-04-07 17:42
lstat-i.ri
292
B
-rw-r--r--
2026-04-07 17:42
lutime-i.ri
472
B
-rw-r--r--
2026-04-07 17:42
make_link-i.ri
407
B
-rw-r--r--
2026-04-07 17:42
make_symlink-i.ri
409
B
-rw-r--r--
2026-04-07 17:42
mkdir-i.ri
372
B
-rw-r--r--
2026-04-07 17:42
mkpath-i.ri
465
B
-rw-r--r--
2026-04-07 17:42
mountpoint%3f-i.ri
342
B
-rw-r--r--
2026-04-07 17:42
mtime-i.ri
410
B
-rw-r--r--
2026-04-07 17:42
new-c.ri
433
B
-rw-r--r--
2026-04-07 17:42
open-i.ri
668
B
-rw-r--r--
2026-04-07 17:42
opendir-i.ri
367
B
-rw-r--r--
2026-04-07 17:42
owned%3f-i.ri
299
B
-rw-r--r--
2026-04-07 17:42
parent-i.ri
396
B
-rw-r--r--
2026-04-07 17:42
pipe%3f-i.ri
296
B
-rw-r--r--
2026-04-07 17:42
pwd-c.ri
496
B
-rw-r--r--
2026-04-07 17:42
read-i.ri
531
B
-rw-r--r--
2026-04-07 17:42
readable%3f-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
readable_real%3f-i.ri
323
B
-rw-r--r--
2026-04-07 17:42
readlines-i.ri
576
B
-rw-r--r--
2026-04-07 17:42
readlink-i.ri
362
B
-rw-r--r--
2026-04-07 17:42
realdirpath-i.ri
542
B
-rw-r--r--
2026-04-07 17:42
realpath-i.ri
561
B
-rw-r--r--
2026-04-07 17:42
relative%3f-i.ri
624
B
-rw-r--r--
2026-04-07 17:42
relative_path_from-i.ri
913
B
-rw-r--r--
2026-04-07 17:42
rename-i.ri
355
B
-rw-r--r--
2026-04-07 17:42
rmdir-i.ri
365
B
-rw-r--r--
2026-04-07 17:42
rmtree-i.ri
451
B
-rw-r--r--
2026-04-07 17:42
root%3f-i.ri
567
B
-rw-r--r--
2026-04-07 17:42
setgid%3f-i.ri
302
B
-rw-r--r--
2026-04-07 17:42
setuid%3f-i.ri
302
B
-rw-r--r--
2026-04-07 17:42
size%3f-i.ri
296
B
-rw-r--r--
2026-04-07 17:42
size-i.ri
293
B
-rw-r--r--
2026-04-07 17:42
socket%3f-i.ri
302
B
-rw-r--r--
2026-04-07 17:42
split-i.ri
385
B
-rw-r--r--
2026-04-07 17:42
stat-i.ri
359
B
-rw-r--r--
2026-04-07 17:42
sticky%3f-i.ri
302
B
-rw-r--r--
2026-04-07 17:42
sub-i.ri
516
B
-rw-r--r--
2026-04-07 17:42
sub_ext-i.ri
584
B
-rw-r--r--
2026-04-07 17:42
symlink%3f-i.ri
305
B
-rw-r--r--
2026-04-07 17:42
sysopen-i.ri
362
B
-rw-r--r--
2026-04-07 17:42
taint-i.ri
382
B
-rw-r--r--
2026-04-07 17:42
to_path-i.ri
440
B
-rw-r--r--
2026-04-07 17:42
to_s-i.ri
515
B
-rw-r--r--
2026-04-07 17:42
truncate-i.ri
382
B
-rw-r--r--
2026-04-07 17:42
unlink-i.ri
398
B
-rw-r--r--
2026-04-07 17:42
untaint-i.ri
388
B
-rw-r--r--
2026-04-07 17:42
utime-i.ri
393
B
-rw-r--r--
2026-04-07 17:42
world_readable%3f-i.ri
326
B
-rw-r--r--
2026-04-07 17:42
world_writable%3f-i.ri
326
B
-rw-r--r--
2026-04-07 17:42
writable%3f-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
writable_real%3f-i.ri
323
B
-rw-r--r--
2026-04-07 17:42
write-i.ri
498
B
-rw-r--r--
2026-04-07 17:42
zero%3f-i.ri
296
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::NormalClass[iI" Pathname:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below0o;;[:o:RDoc::Markup::Paragraph;[I"LPathname represents the name of a file or directory on the filesystem, ;TI"but not the file itself.;To:RDoc::Markup::BlankLine o;;[I"GThe pathname depends on the Operating System: Unix, Windows, etc. ;TI"OThis library works with pathnames of local OS, however non-Unix pathnames ;TI""are supported experimentally.;T@o;;[I"HA Pathname can be relative or absolute. It's not until you try to ;TI"Lreference the file that it even matters whether the file exists or not.;T@o;;[I"EPathname is immutable. It has no method for destructive update.;T@o;;[I"OThe goal of this class is to manipulate file path information in a neater ;TI"Jway than standard Ruby provides. The examples below demonstrate the ;TI"difference.;T@o;;[I"Q*All* functionality from File, FileTest, and some from Dir and FileUtils is ;TI"Nincluded, in an unsurprising way. It is essentially a facade for all of ;TI"these, and more.;T@S:RDoc::Markup::Heading: leveli: textI" Examples;T@S; ;i;I"Example 1: Using Pathname;T@o:RDoc::Markup::Verbatim;[I"require 'pathname' ;TI"(pn = Pathname.new("/usr/bin/ruby") ;TI")size = pn.size # 27662 ;TI")isdir = pn.directory? # false ;TI"5dir = pn.dirname # Pathname:/usr/bin ;TI"1base = pn.basename # Pathname:ruby ;TI"Fdir, base = pn.split # [Pathname:/usr/bin, Pathname:ruby] ;TI"data = pn.read ;TI"pn.open { |f| _ } ;TI"pn.each_line { |line| _ } ;T:@format0S; ;i;I"#Example 2: Using standard Ruby;T@o;;[I"pn = "/usr/bin/ruby" ;TI")size = File.size(pn) # 27662 ;TI")isdir = File.directory?(pn) # false ;TI".dir = File.dirname(pn) # "/usr/bin" ;TI"*base = File.basename(pn) # "ruby" ;TI"8dir, base = File.split(pn) # ["/usr/bin", "ruby"] ;TI"data = File.read(pn) ;TI"File.open(pn) { |f| _ } ;TI"#File.foreach(pn) { |line| _ } ;T;0S; ;i;I" Example 3: Special features;T@o;;[I"9p1 = Pathname.new("/usr/lib") # Pathname:/usr/lib ;TI"Bp2 = p1 + "ruby/1.8" # Pathname:/usr/lib/ruby/1.8 ;TI"5p3 = p1.parent # Pathname:/usr ;TI"=p4 = p2.relative_path_from(p3) # Pathname:lib/ruby/1.8 ;TI"<pwd = Pathname.pwd # Pathname:/home/gavin ;TI",pwd.absolute? # true ;TI"2p5 = Pathname.new "." # Pathname:. ;TI"Bp5 = p5 + "music/../articles" # Pathname:music/../articles ;TI"9p5.cleanpath # Pathname:articles ;TI"Ep5.realpath # Pathname:/home/gavin/articles ;TI"Rp5.children # [Pathname:/home/gavin/articles/linux, ...] ;T;0S; ;i;I"Breakdown of functionality;T@S; ;i;I"Core methods;T@o;;[I"IThese methods are effectively manipulating a String, because that's ;TI"Eall a path is. None of these access the file system except for ;TI"F#mountpoint?, #children, #each_child, #realdirpath and #realpath.;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"+;To;;0;[o;;[I" #join;To;;0;[o;;[I"#parent;To;;0;[o;;[I"#root?;To;;0;[o;;[I"#absolute?;To;;0;[o;;[I"#relative?;To;;0;[o;;[I"#relative_path_from;To;;0;[o;;[I"#each_filename;To;;0;[o;;[I"#cleanpath;To;;0;[o;;[I"#realpath;To;;0;[o;;[I"#realdirpath;To;;0;[o;;[I"#children;To;;0;[o;;[I"#each_child;To;;0;[o;;[I"#mountpoint?;T@S; ;i;I""File status predicate methods;T@o;;[I"-These methods are a facade for FileTest:;To;;;;[o;;0;[o;;[I"#blockdev?;To;;0;[o;;[I"#chardev?;To;;0;[o;;[I"#directory?;To;;0;[o;;[I"#executable?;To;;0;[o;;[I"#executable_real?;To;;0;[o;;[I"#exist?;To;;0;[o;;[I"#file?;To;;0;[o;;[I"#grpowned?;To;;0;[o;;[I"#owned?;To;;0;[o;;[I"#pipe?;To;;0;[o;;[I"#readable?;To;;0;[o;;[I"#world_readable?;To;;0;[o;;[I"#readable_real?;To;;0;[o;;[I" #setgid?;To;;0;[o;;[I" #setuid?;To;;0;[o;;[I" #size;To;;0;[o;;[I"#size?;To;;0;[o;;[I" #socket?;To;;0;[o;;[I" #sticky?;To;;0;[o;;[I"#symlink?;To;;0;[o;;[I"#writable?;To;;0;[o;;[I"#world_writable?;To;;0;[o;;[I"#writable_real?;To;;0;[o;;[I"#zero?;T@S; ;i;I"+File property and manipulation methods;T@o;;[I")These methods are a facade for File:;To;;;;[o;;0;[o;;[I"#atime;To;;0;[o;;[I"#birthtime;To;;0;[o;;[I"#ctime;To;;0;[o;;[I"#mtime;To;;0;[o;;[I"#chmod(mode);To;;0;[o;;[I"#lchmod(mode);To;;0;[o;;[I"#chown(owner, group);To;;0;[o;;[I"#lchown(owner, group);To;;0;[o;;[I"#fnmatch(pattern, *args);To;;0;[o;;[I"#fnmatch?(pattern, *args);To;;0;[o;;[I"#ftype;To;;0;[o;;[I"#make_link(old);To;;0;[o;;[I"#open(*args, &block);To;;0;[o;;[I"#readlink;To;;0;[o;;[I"#rename(to);To;;0;[o;;[I" #stat;To;;0;[o;;[I"#lstat;To;;0;[o;;[I"#make_symlink(old);To;;0;[o;;[I"#truncate(length);To;;0;[o;;[I"#utime(atime, mtime);To;;0;[o;;[I"#lutime(atime, mtime);To;;0;[o;;[I"#basename(*args);To;;0;[o;;[I" #dirname;To;;0;[o;;[I" #extname;To;;0;[o;;[I"#expand_path(*args);To;;0;[o;;[I"#split;T@S; ;i;I"Directory methods;T@o;;[I"(These methods are a facade for Dir:;To;;;;[o;;0;[o;;[I"Pathname.glob(*args);To;;0;[o;;[I""Pathname.getwd / Pathname.pwd;To;;0;[o;;[I"#rmdir;To;;0;[o;;[I" #entries;To;;0;[o;;[I"#each_entry(&block);To;;0;[o;;[I"#mkdir(*args);To;;0;[o;;[I"#opendir(*args);T@S; ;i;I"IO;T@o;;[I"'These methods are a facade for IO:;To;;;;[o;;0;[o;;[I"#each_line(*args, &block);To;;0;[o;;[I"#read(*args);To;;0;[o;;[I"#binread(*args);To;;0;[o;;[I"#readlines(*args);To;;0;[o;;[I"#sysopen(*args);To;;0;[o;;[I"#write(*args);To;;0;[o;;[I"#binwrite(*args);T@S; ;i;I"Utilities;T@o;;[I"@These methods are a mixture of Find, FileUtils, and others:;To;;;;[ o;;0;[o;;[I"#find(&block);To;;0;[o;;[I"#mkpath;To;;0;[o;;[I"#rmtree;To;;0;[o;;[I"#unlink / #delete;T@S; ;i;I"Method documentation;T@o;;[ I"SAs the above section shows, most of the methods in Pathname are facades. The ;TI"Mdocumentation for these methods generally just says, for instance, "See ;TI"MFileTest.writable?", as you should be familiar with the original method ;TI"Ianyway, and its documentation (e.g. through +ri+) will contain more ;TI"Binformation. In some cases, a brief description will follow.;T; I"ext/pathname/pathname.c;T; 0; 0; 0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" getwd;TI"ext/pathname/pathname.c;T[I" glob;T@3[I"new;T@3[I"pwd;T@3[I" instance;T[[;[ [;[ [;[f[I"+;TI"!ext/pathname/lib/pathname.rb;T[I"/;T@E[I"<=>;T@3[I"==;T@3[I"===;T@3[I"absolute?;T@E[I"ascend;T@E[I" atime;T@3[I" basename;T@3[I"binread;T@3[I" binwrite;T@3[I"birthtime;T@3[I"blockdev?;T@3[I" chardev?;T@3[I" children;T@E[I" chmod;T@3[I" chown;T@3[I"cleanpath;T@E[I" ctime;T@3[I"delete;T@3[I"descend;T@E[I"directory?;T@3[I"dirname;T@3[I"each_child;T@E[I"each_entry;T@3[I"each_filename;T@E[I"each_line;T@3[I"empty?;T@3[I"entries;T@3[I" eql?;T@3[I"executable?;T@3[I"executable_real?;T@3[I"exist?;T@3[I"expand_path;T@3[I"extname;T@3[I" file?;T@3[I" find;T@E[I"fnmatch;T@3[I" fnmatch?;T@3[I"freeze;T@3[I" ftype;T@3[I" glob;T@3[I"grpowned?;T@3[I" join;T@E[I"lchmod;T@3[I"lchown;T@3[I" lstat;T@3[I"lutime;T@3[I"make_link;T@3[I"make_symlink;T@3[I" mkdir;T@3[I"mkpath;T@E[I"mountpoint?;T@E[I" mtime;T@3[I" open;T@3[I"opendir;T@3[I"owned?;T@3[I"parent;T@E[I" pipe?;T@3[I" read;T@3[I"readable?;T@3[I"readable_real?;T@3[I"readlines;T@3[I" readlink;T@3[I"realdirpath;T@3[I" realpath;T@3[I"relative?;T@E[I"relative_path_from;T@E[I"rename;T@3[I" rmdir;T@3[I"rmtree;T@E[I" root?;T@E[I"setgid?;T@3[I"setuid?;T@3[I" size;T@3[I" size?;T@3[I"socket?;T@3[I" split;T@3[I" stat;T@3[I"sticky?;T@3[I"sub;T@3[I"sub_ext;T@3[I" symlink?;T@3[I"sysopen;T@3[I" taint;T@3[I"to_path;T@3[I" to_s;T@3[I" truncate;T@3[I"unlink;T@3[I"untaint;T@3[I" utime;T@3[I"world_readable?;T@3[I"world_writable?;T@3[I"writable?;T@3[I"writable_real?;T@3[I" write;T@3[I" zero?;T@3[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[I"!ext/pathname/lib/pathname.rb;TI"ext/pathname/pathname.c;T@#cRDoc::TopLevel