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.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby24 /
share /
ri /
2.4.0 /
system /
Shell /
Delete
Unzip
Name
Size
Permission
Date
Action
AppendFile
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
AppendIO
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
BuiltInCommand
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Cat
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
CommandProcessor
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Concat
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Echo
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Error
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Filter
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Glob
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
ProcessController
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
SystemCommand
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Tee
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Thread
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
Void
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
alias_command-c.ri
737
B
-rw-r--r--
2023-07-26 18:18
cascade-c.ri
215
B
-rw-r--r--
2023-07-26 18:18
cd-c.ri
364
B
-rw-r--r--
2023-07-26 18:18
cd-i.ri
261
B
-rw-r--r--
2023-07-26 18:18
cdesc-Shell.ri
4.47
KB
-rw-r--r--
2023-07-26 18:18
chdir-i.ri
627
B
-rw-r--r--
2023-07-26 18:18
command_processor-i.ri
233
B
-rw-r--r--
2023-07-26 18:18
cwd-i.ri
281
B
-rw-r--r--
2023-07-26 18:18
debug%3d-c.ri
227
B
-rw-r--r--
2023-07-26 18:18
debug%3d-i.ri
226
B
-rw-r--r--
2023-07-26 18:18
debug%3f-c.ri
212
B
-rw-r--r--
2023-07-26 18:18
debug%3f-i.ri
211
B
-rw-r--r--
2023-07-26 18:18
debug-c.ri
210
B
-rw-r--r--
2023-07-26 18:18
debug-i.ri
209
B
-rw-r--r--
2023-07-26 18:18
def_system_command-c.ri
964
B
-rw-r--r--
2023-07-26 18:18
default_record_separator%3d-c.ri
264
B
-rw-r--r--
2023-07-26 18:18
default_record_separator-c.ri
260
B
-rw-r--r--
2023-07-26 18:18
default_system_path%3d-c.ri
485
B
-rw-r--r--
2023-07-26 18:18
default_system_path-c.ri
773
B
-rw-r--r--
2023-07-26 18:18
dir-i.ri
281
B
-rw-r--r--
2023-07-26 18:18
dir_stack-i.ri
217
B
-rw-r--r--
2023-07-26 18:18
dirs-i.ri
207
B
-rw-r--r--
2023-07-26 18:18
expand_path-i.ri
237
B
-rw-r--r--
2023-07-26 18:18
getwd-i.ri
285
B
-rw-r--r--
2023-07-26 18:18
inspect-i.ri
225
B
-rw-r--r--
2023-07-26 18:18
install_system_commands-c.ri
740
B
-rw-r--r--
2023-07-26 18:18
jobs-i.ri
290
B
-rw-r--r--
2023-07-26 18:18
kill-i.ri
336
B
-rw-r--r--
2023-07-26 18:18
new-c.ri
461
B
-rw-r--r--
2023-07-26 18:18
notify-c.ri
238
B
-rw-r--r--
2023-07-26 18:18
popd-i.ri
236
B
-rw-r--r--
2023-07-26 18:18
popdir-i.ri
376
B
-rw-r--r--
2023-07-26 18:18
process_controller-i.ri
235
B
-rw-r--r--
2023-07-26 18:18
pushd-i.ri
269
B
-rw-r--r--
2023-07-26 18:18
pushdir-i.ri
707
B
-rw-r--r--
2023-07-26 18:18
pwd-i.ri
281
B
-rw-r--r--
2023-07-26 18:18
record_separator-i.ri
232
B
-rw-r--r--
2023-07-26 18:18
system_path%3d-i.ri
441
B
-rw-r--r--
2023-07-26 18:18
system_path-i.ri
302
B
-rw-r--r--
2023-07-26 18:18
umask-i.ri
265
B
-rw-r--r--
2023-07-26 18:18
unalias_command-c.ri
345
B
-rw-r--r--
2023-07-26 18:18
undef_system_command-c.ri
364
B
-rw-r--r--
2023-07-26 18:18
verbose%3f-c.ri
217
B
-rw-r--r--
2023-07-26 18:18
verbose%3f-i.ri
216
B
-rw-r--r--
2023-07-26 18:18
verbose-c.ri
215
B
-rw-r--r--
2023-07-26 18:18
verbose-i.ri
214
B
-rw-r--r--
2023-07-26 18:18
Save
Rename
U:RDoc::NormalClass[iI" Shell:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"QShell implements an idiomatic Ruby interface for common UNIX shell commands.;To:RDoc::Markup::BlankLine o; ;[I"OIt provides users the ability to execute commands with filters and pipes, ;TI"8like +sh+/+csh+ by using native facilities of Ruby.;T@S:RDoc::Markup::Heading: leveli: textI" Examples;T@S;;i; I"Temp file creation;T@o; ;[I"QIn this example we will create three +tmpFile+'s in three different folders ;TI" under the +/tmp+ directory.;T@o:RDoc::Markup::Verbatim;[I":sh = Shell.cd("/tmp") # Change to the /tmp directory ;TI"?sh.mkdir "shell-test-1" unless sh.exists?("shell-test-1") ;TI"E# make the 'shell-test-1' directory if it doesn't already exist ;TI"Gsh.cd("shell-test-1") # Change to the /tmp/shell-test-1 directory ;TI")for dir in ["dir1", "dir3", "dir5"] ;TI" if !sh.exists?(dir) ;TI"= sh.mkdir dir # make dir if it doesn't already exist ;TI" sh.cd(dir) do ;TI"+ # change to the `dir` directory ;TI"G f = sh.open("tmpFile", "w") # open a new file in write mode ;TI"; f.print "TEST\n" # write to the file ;TI"@ f.close # close the file handler ;TI" end ;TI"N print sh.pwd # output the process working directory ;TI" end ;TI" end ;T:@format0S;;i; I"!Temp file creation with self;T@o; ;[I"@This example is identical to the first, except we're using ;TI"CommandProcessor#transact.;T@o; ;[I"SCommandProcessor#transact executes the given block against self, in this case ;TI"Q+sh+; our Shell object. Within the block we can substitute +sh.cd+ to +cd+, ;TI":because the scope within the block uses +sh+ already.;T@o;;[I"sh = Shell.cd("/tmp") ;TI"sh.transact do ;TI"; mkdir "shell-test-1" unless exists?("shell-test-1") ;TI" cd("shell-test-1") ;TI"+ for dir in ["dir1", "dir3", "dir5"] ;TI" if !exists?(dir) ;TI" mkdir dir ;TI" cd(dir) do ;TI"& f = open("tmpFile", "w") ;TI" f.print "TEST\n" ;TI" f.close ;TI" end ;TI" print pwd ;TI" end ;TI" end ;TI" end ;T;0S;;i; I"#Pipe /etc/printcap into a file;T@o; ;[I"MIn this example we will read the operating system file +/etc/printcap+, ;TI"Rgenerated by +cupsd+, and then output it to a new file relative to the +pwd+ ;TI" of +sh+.;T@o;;[ I"sh = Shell.new ;TI"7sh.cat("/etc/printcap") | sh.tee("tee1") > "tee2" ;TI"<(sh.cat < "/etc/printcap") | sh.tee("tee11") > "tee12" ;TI"8sh.cat("/etc/printcap") | sh.tee("tee1") >> "tee2" ;TI"<(sh.cat < "/etc/printcap") | sh.tee("tee11") >> "tee12";T;0: @fileI"lib/shell.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"!lib/shell/builtin-command.rb;T;0o;;[ ;I"#lib/shell/command-processor.rb;T;0o;;[ ;I"lib/shell/error.rb;T;0o;;[ ;I"$lib/shell/process-controller.rb;T;0o;;[ ;I" lib/shell/system-command.rb;T;0;0;0[[ I"cascade;TI"RW;T:publicTI"lib/shell.rb;T[ I" debug;TI"R;T;T@n[ I"debug?;F@q;T@n[ I"verbose;TI"RW;T;T@n[ I" verbose?;FI"RW;T;T@n[ I"command_processor;TI"R;T;F@n[ I"cwd;TI"R;T;F@n[ I" debug;TI"R;T;F@n[ I"debug?;F@};F@n[ I"dir;F@;F@n[ I"dir_stack;TI"R;T;F@n[ I" dirs;F@�;F@n[ I" getwd;F@;F@n[ I"process_controller;TI"R;T;F@n[ I"pwd;F@;F@n[ I"record_separator;TI"RW;T;F@n[ I"system_path;TI"R;T;F@n[ I" umask;TI"RW;T;F@n[ I"verbose;TI"RW;T;F@n[ I" verbose?;FI"RW;T;F@n[ [[I" Error;To;;[ ;@Z;0@n[[I" class;T[[;[[I"alias_command;F@n[I"cd;F@n[I"debug=;F@n[I"def_system_command;F@n[I"default_record_separator;F@n[I"default_record_separator=;F@n[I"default_system_path;F@n[I"default_system_path=;F@n[I"install_system_commands;F@n[I"new;T@n[I"notify;F@n[I"unalias_command;F@n[I"undef_system_command;F@n[:protected[ [:private[ [I" instance;T[[;[[I"cd;F@n[I" chdir;F@n[I"debug=;F@n[I"expand_path;F@n[I"inspect;F@n[I" jobs;F@n[I" kill;F@n[I" popd;F@n[I"popdir;F@n[I" pushd;F@n[I"pushdir;F@n[I"system_path=;F@n[;[ [;[ [[I"Exception2MessageMapper;To;;[ ;@Z;0@n[I"Forwardable;To;;[ ;@Z;0@n[U:RDoc::Context::Section[i 0o;;[ ;0;0[ @Z@]@`@cI"lib/shell/filter.rb;T@f@iI"lib/shell/version.rb;T@�cRDoc::TopLevel