Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
BASIC QUESTIONS & ANSWERS
Question 01 Shell Script
Question 02 Invoking Shell Scripts
Question 03 Language Constructs
Question 04 Shells
Question 05 Learning Shell Scripting
Question 06 UNIX Filenames
Question 07 Strange UNIX Command Name
Question 08 Rename "*.foo" to "*.bar"
Question 09 Reading Characters from the Terminal
Question 10 Set an Environment Variable Inside Script
Question 11 Ring the Terminal Bell During a Shell Script
Question 12 Calendar Produce the Wrong Output
Question 13 Print Environment Variables
Question 14 Welcome Users as They Log-in
Question 15 Display Subdirectories
Question 16 Difference Between Two Syntax
Question 17 Extracting Usernames
Question 18 Remove Blanks at the End of String
Question 19 Run a Script
Question 20 Simple Explanation About xargs
Question 21 Get Return Value
Question 22 Assistance with Merge Script
Question 23 Finding Substrings
Question 24 Writing Scripts
Question 25 Merging Columns from Different Files
Question 26 Remove Duplicate Lines in File
Question 27 Reverse and Trim a String
Question 28 Transposing Data
Question 29 Test for Bad Numbers
Question 30 Remove Comma within Quotation Marks
INTERMEDIATE QUESTIONS & ANSWERS
Question 31 Search and Replace
Question 32 “Read in a While” Loop
Question 33 Shell Script Functions
Question 34 Execute a Script for Each Logout
Question 35 Calling Script1 from Inside of Script
Question 36 Deleting Lines from a File
Question 37 File Size Checking
Question 38 Modify Log File Timestamp
Question 39 Correct Usage of Input
Question 40 First Occurrence of a Timestamp within a File
Question 41 Backup Script
Question 42 Find Command Exec Error
Question 43 Remove the File Extension from File Name
Question 44 Retain Blank Spaces
Question 45 Hide Password
Question 46 Stored Procedure
Question 47 Checking Exit Status
Question 48 Separating Filenames
Question 49 Extract a String
Question 50 Splitting a String
Question 51 Searching the Line + Next 20 Lines
Question 52 Number and Name of Records in a File
Question 53 Merging Columns from Different Files
Question 54 Formatting a File
Question 55 File Comparison
Question 56 Include "$" in a String
Question 57 Deleting the Empty File
Question 58 Copy Script
Question 59 Parsing a String in a Shell Script
Question 60 Replace All Occurrences of a String
Question 61 Replace Character Occurrences
Question 62 Passing Parameters to Script
Question 63 Schedule Script without Using cron
Question 64 Get Current User
Question 65 String Substitution
Question 66 Read a Specific Line
Question 67 Server or Environment Determination
Question 68 Timer
Question 69 Dynamic Variable Evaluation
Question 70 Eliminate Duplicates from a Long List
Question 71 Crontab Relative Path
Question 72 Security Work Around
Question 73 Renaming Multiple Files
Question 74 Traverse and Download
Question 75 Output a Specific Line in a File
Question 76 About Kill Command
Question 77 Calling Shell Script with * as a Parameter
Question 78 Extract a Section of Text in File
Question 79 Run UNIX in a New Shell Inside a Shell Script
Question 80 String Replacement Script
Question 81 UNIX Script Issues
Question 82 Split a Document
Question 83 Exit Shell Script from Function
Question 84 Search Multiple String Occurrences
Question 85 Search/Copy Records
ADVANCED QUESTIONS & ANSWERS
Question 86 Menu Considerations
Question 87 Finding the Last Row
Question 88 Catching All Exit Codes
Question 89 Converting Text File into XML
Question 90 Back Up Log Files
Question 91 Stop Simultaneous Execution of the Same Script
Question 92 Displaying Script Command with Output
Question 93 Build Text File with Calendar Dates
Question 94 grep in a Loop
Question 95 Generating a List of Choices in a Menu
Question 96 Delete Empty Files in a Shell Script
Question 97 Replace a Line in a File
Question 98 Shrinking a File
Question 99 awk in Shell Script
Question 100 while Loop
Acknowledgements
← Prev
Back
Next →
← Prev
Back
Next →