How do I import a MySQL .SQL text file to MySQL database sever using command line or gui tools?
How do I reverse lines of a file or files under Linux or Unix like operating systems?
I‘m writing a shell script for automation purpose. The output the path of the current working directory is stored in $PWD or it can be obtained using the pwd command. How do I find out find out 3rd field separated by the forward slash (/) delimiter using $PWD under Unix like operating systems?
How do I assign the output of a shell command to a shell variable under Unix like operating system? For example, I want to store the date command output to a variable called $now. How do you do that?
How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell?
What is /bin/dash? I noticed that the default system shell /bin/sh was changed to /bin/dash. Why was this change made?
I want to increment the date under UNIX or Linux operating system while writing shell scripts. For example Apr/27/2011 should be incremented as Apr/28/2011 and so on. How do I increment a date in UNIX or Linux shell?