Some Useful Unix File Finding Commands
Following are some bunch of commands that might be useful if you want to find files in unix/linux. Large Files Find files larger than 10MB in the current directory downwards… Find files larger than...
Following are some bunch of commands that might be useful if you want to find files in unix/linux. Large Files Find files larger than 10MB in the current directory downwards… Find files larger than...
Unix File Line Ending always gives you problem if you have your development environment in Windows and servers in Unix. Also if you are using Subversion as source control system then you need to...
Shell Script is fun. I love it when I know which commands to use. There are almost thousands of Here is a simple trick to Replace Text and Variables in Files in UNIX. We...
Problem Statement: I have few files in source directory. I have to move them to another destination directory. The source directory have *.txt files that needs to be moved to destination directory. The destination...
RANDOM is a peculiar shell variable, but useful nonetheless. Peculiar because its value changes each time it is referenced (yes, this is by design). As you may have already guessed, RANDOM is a random...
The basic part is very easy. To do this, we will use the Runtime’s exec method. The code would be like: The command (I’ve used “ping localhost” ) can be anything that your command...
Resetting the root password of a MySQL database is trivial if you know the current password if you don’t it is a little trickier. Thankfully it isn’t too difficult to fix, and here we’ll...
Yes, this is also a good solution. All you need is to add: after that call pdflatex youFIle.tex in your shell script.