programming-examples/perl/SystemFunction
2019-11-15 12:59:38 +01:00
..
A program that generates random integers between 1 and 10.pl Initial commit 2019-11-15 12:59:38 +01:00
alarm(5).pl Initial commit 2019-11-15 12:59:38 +01:00
All installed files.pl Initial commit 2019-11-15 12:59:38 +01:00
Behavior of eval.pl Initial commit 2019-11-15 12:59:38 +01:00
Benchmark timethis.pl Initial commit 2019-11-15 12:59:38 +01:00
Call external command.pl Initial commit 2019-11-15 12:59:38 +01:00
Calling system.pl Initial commit 2019-11-15 12:59:38 +01:00
Combine rand function and letter range to generate random letter.pl Initial commit 2019-11-15 12:59:38 +01:00
Combine unpack and pack in one statement.pl Initial commit 2019-11-15 12:59:38 +01:00
Compare complex number.pl Initial commit 2019-11-15 12:59:38 +01:00
Convert value to degree.pl Initial commit 2019-11-15 12:59:38 +01:00
Converts from degrees to radians.pl Initial commit 2019-11-15 12:59:38 +01:00
Create a big integer.pl Initial commit 2019-11-15 12:59:38 +01:00
Create arsine value.pl Initial commit 2019-11-15 12:59:38 +01:00
Create Complex number.pl Initial commit 2019-11-15 12:59:38 +01:00
Demonstrating some math functions.pl Initial commit 2019-11-15 12:59:38 +01:00
Detecting Whether Your Script Is Running on Windows or UNIX using $^O.pl Initial commit 2019-11-15 12:59:38 +01:00
Displays the current date and time in a Web browser.pl Initial commit 2019-11-15 12:59:38 +01:00
Distinguish between the parent and child processes.pl Initial commit 2019-11-15 12:59:38 +01:00
Encrypt files.pl Initial commit 2019-11-15 12:59:38 +01:00
English name- $PROGRAM_NAME.pl Initial commit 2019-11-15 12:59:38 +01:00
Expired user.pl Initial commit 2019-11-15 12:59:38 +01:00
Extract command-line switches with Getopt-Std.pl Initial commit 2019-11-15 12:59:38 +01:00
File group listing.pl Initial commit 2019-11-15 12:59:38 +01:00
Find all users without passwords.pl Initial commit 2019-11-15 12:59:38 +01:00
fork returns the child's process ID.pl Initial commit 2019-11-15 12:59:38 +01:00
Formula to produce random numbers between 5 and 15 inclusive.pl Initial commit 2019-11-15 12:59:38 +01:00
Generate random numbers.pl Initial commit 2019-11-15 12:59:38 +01:00
Generate random password.pl Initial commit 2019-11-15 12:59:38 +01:00
Get abbreviations.pl Initial commit 2019-11-15 12:59:38 +01:00
Get group name.pl Initial commit 2019-11-15 12:59:38 +01:00
Get Terminal Size.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the absolute value.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the basename of a file.pl Initial commit 2019-11-15 12:59:38 +01:00
Get the dirname from a file name.pl Initial commit 2019-11-15 12:59:38 +01:00
Get user login names.pl Initial commit 2019-11-15 12:59:38 +01:00
getgrent function.pl Initial commit 2019-11-15 12:59:38 +01:00
GetOptions(file=s arrow $file).pl Initial commit 2019-11-15 12:59:38 +01:00
getprotoent function.pl Initial commit 2019-11-15 12:59:38 +01:00
Is scalar readonly.pl Initial commit 2019-11-15 12:59:38 +01:00
Launching Processes by using Calling exec.pl Initial commit 2019-11-15 12:59:38 +01:00
Let system determine seed.pl Initial commit 2019-11-15 12:59:38 +01:00
List group.pl Initial commit 2019-11-15 12:59:38 +01:00
List users.pl Initial commit 2019-11-15 12:59:38 +01:00
Map function with regular expression.pl Initial commit 2019-11-15 12:59:38 +01:00
pack and unpack.pl Initial commit 2019-11-15 12:59:38 +01:00
Pack to hex string and unpack.pl Initial commit 2019-11-15 12:59:38 +01:00
Pass new variable name to Data-Dumper function.pl Initial commit 2019-11-15 12:59:38 +01:00
Perform consistent command line parsing.pl Initial commit 2019-11-15 12:59:38 +01:00
print (4 x atan2 1, 1).pl Initial commit 2019-11-15 12:59:38 +01:00
Print out all users on your UNIX system.pl Initial commit 2019-11-15 12:59:38 +01:00
print pack(c3, 65, 66, 67).pl Initial commit 2019-11-15 12:59:38 +01:00
print pack(c, 68, 69, 70, 71).pl Initial commit 2019-11-15 12:59:38 +01:00
print pack(ccc, 88, 89, 90);.pl Initial commit 2019-11-15 12:59:38 +01:00
print POSIX-tan(atan2 (1, 1)).pl Initial commit 2019-11-15 12:59:38 +01:00
Process complex command lines.pl Initial commit 2019-11-15 12:59:38 +01:00
Putting Sleep into foreach loop.pl Initial commit 2019-11-15 12:59:38 +01:00
qualify_to_ref(scalar,My_Module).pl Initial commit 2019-11-15 12:59:38 +01:00
qualify('scalar','My-Module').pl Initial commit 2019-11-15 12:59:38 +01:00
qualify('scalar').pl Initial commit 2019-11-15 12:59:38 +01:00
Quota, change or age.pl Initial commit 2019-11-15 12:59:38 +01:00
Random integers produced by 1 + int( rand( 6 ) ).pl Initial commit 2019-11-15 12:59:38 +01:00
Random numbers produced by rand( 100 ).pl Initial commit 2019-11-15 12:59:38 +01:00
Random numbers produced by rand().pl Initial commit 2019-11-15 12:59:38 +01:00
Read from a file.pl Initial commit 2019-11-15 12:59:38 +01:00
Read password without displaying anything.pl Initial commit 2019-11-15 12:59:38 +01:00
Read password.pl Initial commit 2019-11-15 12:59:38 +01:00
Read system command and execute.pl Initial commit 2019-11-15 12:59:38 +01:00
Read the password file.pl Initial commit 2019-11-15 12:59:38 +01:00
ReadMode('cbreak'.pl Initial commit 2019-11-15 12:59:38 +01:00
Runs pre-configured test scripts or programs.pl Initial commit 2019-11-15 12:59:38 +01:00
Seed rand with the time or the pid of this process.pl Initial commit 2019-11-15 12:59:38 +01:00
Set new prompt letter for terminal when reading data.pl Initial commit 2019-11-15 12:59:38 +01:00
setlocale function.pl Initial commit 2019-11-15 12:59:38 +01:00
Shell command- cat file.pl Initial commit 2019-11-15 12:59:38 +01:00
Shell command- dir.pl Initial commit 2019-11-15 12:59:38 +01:00
Shell command- uptime.pl Initial commit 2019-11-15 12:59:38 +01:00
Sign a file or message.pl Initial commit 2019-11-15 12:59:38 +01:00
Simple options.pl Initial commit 2019-11-15 12:59:38 +01:00
Soundex function.pl Initial commit 2019-11-15 12:59:38 +01:00
srand function.pl Initial commit 2019-11-15 12:59:38 +01:00
stty cbreak _-dev-tty _&1.pl Initial commit 2019-11-15 12:59:38 +01:00
system -stty cbreak &1.pl Initial commit 2019-11-15 12:59:38 +01:00
Test a UNIX password.pl Initial commit 2019-11-15 12:59:38 +01:00
The defined Function.pl Initial commit 2019-11-15 12:59:38 +01:00
The die function exits the Perl script and prints out an error message to STDERR.pl Initial commit 2019-11-15 12:59:38 +01:00
The English Module.pl Initial commit 2019-11-15 12:59:38 +01:00
The eval command executes a snippet of Perl code.pl Initial commit 2019-11-15 12:59:38 +01:00
The getgrnam function retrieves the group file entry corresponding to a particular group name.pl Initial commit 2019-11-15 12:59:38 +01:00
The getpgrp function retrieves the process group ID for a particular process.pl Initial commit 2019-11-15 12:59:38 +01:00
The pack Function Character Codes.pl Initial commit 2019-11-15 12:59:38 +01:00
The pack-format characters, as used by unpack.pl Initial commit 2019-11-15 12:59:38 +01:00
The Perl function getgrent retrieves an item from the user group file.pl Initial commit 2019-11-15 12:59:38 +01:00
The sleep command puts your process to sleep for a number of seconds.pl Initial commit 2019-11-15 12:59:38 +01:00
The Template pack and unpack Types and Values.pl Initial commit 2019-11-15 12:59:38 +01:00
The undef Function.pl Initial commit 2019-11-15 12:59:38 +01:00
The wait function.pl Initial commit 2019-11-15 12:59:38 +01:00
The waitpid function.pl Initial commit 2019-11-15 12:59:38 +01:00
To display all the -etc-passwd fields for users passed on the command line.pl Initial commit 2019-11-15 12:59:38 +01:00
To exit a Perl script, use the die function or the exit function.pl Initial commit 2019-11-15 12:59:38 +01:00
To retrieve the process ID for the parent process for your program, call the function getppid.pl Initial commit 2019-11-15 12:59:38 +01:00
To turn a feature on or off. Use the exclamation point(!).pl Initial commit 2019-11-15 12:59:38 +01:00
use Benchmark to time a loop.pl Initial commit 2019-11-15 12:59:38 +01:00
use Class-Struct.pl Initial commit 2019-11-15 12:59:38 +01:00
use Cwd.pl Initial commit 2019-11-15 12:59:38 +01:00
use Data Dumper to dump the reference.pl Initial commit 2019-11-15 12:59:38 +01:00
use Data-Dumper.pl Initial commit 2019-11-15 12:59:38 +01:00
use English.pl Initial commit 2019-11-15 12:59:38 +01:00
use Env qw(PATH HOME).pl Initial commit 2019-11-15 12:59:38 +01:00
use Env.pl Initial commit 2019-11-15 12:59:38 +01:00
use File-Compare to compare two files.pl Initial commit 2019-11-15 12:59:38 +01:00
use Math-BigInt.pl Initial commit 2019-11-15 12:59:38 +01:00
use Safe.pl Initial commit 2019-11-15 12:59:38 +01:00
use Term-ANSIColor.pl Initial commit 2019-11-15 12:59:38 +01:00
use Term-ReadKey.pl Initial commit 2019-11-15 12:59:38 +01:00
use Text-Abbrev.pl Initial commit 2019-11-15 12:59:38 +01:00
use Text-Tabs to set the tab size.pl Initial commit 2019-11-15 12:59:38 +01:00
Use the Data-Dumper function to output complex value.pl Initial commit 2019-11-15 12:59:38 +01:00
use Time-Local.pl Initial commit 2019-11-15 12:59:38 +01:00
Use User-pwent to access user data.pl Initial commit 2019-11-15 12:59:38 +01:00
Uses the system function to clear the screen.pl Initial commit 2019-11-15 12:59:38 +01:00
Using acos function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using cos function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using Data-Dumper to print the results of tree-based parsing.pl Initial commit 2019-11-15 12:59:38 +01:00
Using Data-Dumper to serialize the structure of a tree of XML document.pl Initial commit 2019-11-15 12:59:38 +01:00
Using die to ouput error message.pl Initial commit 2019-11-15 12:59:38 +01:00
Using eval to evaluate an expression.pl Initial commit 2019-11-15 12:59:38 +01:00
Using eval to test whether a function is implemented.pl Initial commit 2019-11-15 12:59:38 +01:00
Using exec to launch the windows program.pl Initial commit 2019-11-15 12:59:38 +01:00
Using exit command to exit an program.pl Initial commit 2019-11-15 12:59:38 +01:00
Using exp function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using foreach loop to create a list of random number.pl Initial commit 2019-11-15 12:59:38 +01:00
Using fork and pipe.pl Initial commit 2019-11-15 12:59:38 +01:00
Using fork to create child processes.pl Initial commit 2019-11-15 12:59:38 +01:00
Using function 'die' to terminate a program.pl Initial commit 2019-11-15 12:59:38 +01:00
Using Getopt to deal with command line options.pl Initial commit 2019-11-15 12:59:38 +01:00
Using Map function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using pack and unpack to convert decimal number to binary number back and forth.pl Initial commit 2019-11-15 12:59:38 +01:00
Using PI constant.pl Initial commit 2019-11-15 12:59:38 +01:00
Using rad2deg to convert radian to degree.pl Initial commit 2019-11-15 12:59:38 +01:00
Using scalar function to convert array to scalar variable.pl Initial commit 2019-11-15 12:59:38 +01:00
Using sin function with radian.pl Initial commit 2019-11-15 12:59:38 +01:00
Using sin function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using system on Windows with the Windows START command.pl Initial commit 2019-11-15 12:59:38 +01:00
Using system on Windows.pl Initial commit 2019-11-15 12:59:38 +01:00
Using system to call a command passed in by an array.pl Initial commit 2019-11-15 12:59:38 +01:00
Using system to call os-shell function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using tan function.pl Initial commit 2019-11-15 12:59:38 +01:00
Using vec.pl Initial commit 2019-11-15 12:59:38 +01:00
Using waitpid.pl Initial commit 2019-11-15 12:59:38 +01:00
Values Returned by getpwnam.pl Initial commit 2019-11-15 12:59:38 +01:00
Waiting for child processes to exit.pl Initial commit 2019-11-15 12:59:38 +01:00
waitpid waits for a particular child process to complete, returning 1 if the process is found and -1 on an error.pl Initial commit 2019-11-15 12:59:38 +01:00