split [ -b n | nk | nm] [-a suffixlength] [ file [name]]
time zone in unix
1. To modify the time zone check the following files.....
cd "/usr/share/lib/zoneinfo"
2. It contains contains a list of all the Time-Zone that are available.
3. If "Asia" dir is present goto step 4.
4. zic asia
5. ls Asia
6. You should see "Calcutta" when you use the above command.
7. If you find "Calcutta" goto step 5 else send email to gong_ops.
8. Edit /etc/default/init file so that it contains TZ=Asia/Calcutta
9. Reboot the workstation.
10. Use the "date" command to set the workstation time to local time.
11. date
12. date -u // this gives you the UT time.
13. You should see a difference of 11/2 hours.
Details of ram capacity with unix command
Prtconf
Finding a file in the entire file system
whereis, where
Shutdown command in unix
Shutdown
Reboot command in unix
Reboot
kill -9 used for?
kill -9 100 -165
sends the SIGKILL signal to the process whose process ID is 100 and
to all processes whose process group ID is 165.
Mount a cdrom on a different system and get access
mount -r -Fhsfs /dev/device/cdrom
Various filesystems
ext2 default file system for many Linux distributions
ext3 ext2 + journaling, which means that no fsck is required after a power failure
reiserfs, xfs newer file systems, similar to ext2, but improve on various aspects
(journaling, speed, size, efficiency)
iso9660 used by most cdroms
proc special virtual file system, none of the files actually exist, but they are
created by the kernel on the fly, eg cat /proc/filesystems contains a list of
supported file system types on the current system
devfs virtual file system for devices (see below)
msdos dos file system, with 8.3 file names only
vfat win95, 98, 2K, XP file system, supports long file names
ntfs read-only support for NTFS (as used by NT, 2K, XP)
os
what is Zombie process?
When a program forks and the child finishes before the parent,
the kernel still keeps some of its information about the child in case
the parent might need it - for example, the parent may need to check
the child's exit status. To be able to get this information,
the parent calls `wait()'; In the interval between the child terminating and
the parent calling `wait()', the child is said to be a `zombie' (If you do `ps',
the child will have a `Z' in its status field to indicate this.)
how do you prioritize a process?
with nice command
No comments:
Post a Comment