Q. How do I format date to display on screen on for my scripts as per my requirements? A. You need to use standard date command to format date or time for output or to use in a shell script. Syntax to specify format date +FORMAT Task: Display date in mm-dd-yy format Type the command [...]
Q. How do I move swap space from one location / partition to another location under Fedora Core Linux server? A. Swap partition or file used by most modern operating systems. This space on a disk in which the system can write portions of memory to. Usually this is a dedicated partition, but it may [...]
by Vivek Gite on February 27, 2007 · 1 comment
Q. I’d like to install CentOS on my new Server but Linux installation is not detecting my smart array controller. This server comes with a driver disk for array. How do I install Linux onto a hard drive using a smart array using this driver disk? I’ve also download driver disk called file-version.fd.img file. A. [...]
Q. I need to create a boot floppy from Solaris DVD image. How do I create a floppy under another Solaris box? Is it possible to create a boot disk under Linux? A. You can create a boot floppy using image called d1_image located under Solaris_10/Tools DVD/CD directory. You need to use dd command to [...]
How do I read a file line by line using awk utility under Unix / Linux operating systems?
Q. How do I use USB Pen under Solaris UNIX? A. Solaris does support USB devices including USB pen / key. You need to use cfgadm command which is SCSI hardware specific commands. USB device emulated as SCSI hot-plug under Solaris vold is Volume Management daemon to manage CD-ROM and floppy, ZIP/JAZ, USB and DVD-ROM [...]
How do I use source command under UNIX / Linux / BSD / OS X operating systems?