Tuesday, 27 October 2009

mkdir:-----------------------amaresh@eOdissa:~/Documents/Test$ mkdir --helpUsage: mkdir [OPTION] DIRECTORY...Create the DIRECTORY(ies), if they do not already exist.

Mandatory arguments to long options are mandatory for short options too. -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask -p, --parents no error if existing, make parent directories as needed -v, --verbose print a message for each created directory -Z, --context=CTX set the SELinux security context of each created directory to CTX --help display this help and exit --version output version information and exit

cd - Change working directory:----------------------------------------------------------cd - Change working directory, cd :- will got respective dir cd .. :- will go to one position dirctory to current dirctory cd - :- will go to Old pwd from new pwd

If you are using Linux and you need to resize a hundred images or so, you can certainly use Gimp, but that would be too much work. Consider ImageMagick set of graphic tools. You can install ImageMagick on Ubuntu by going to the Terminal and typing: “sudo apt-get install imagemagick.” Once the application is installed, all you need to do is go to your image directory and execute the following command:

mogrify -resize 900×600 *.jpg

This command will resize any image with a .jpg extension to a size of 900×600 pixels.