On 08/11/01 10:18 -0800, Tathagata Banerjee wrote: > i was trying to search for the string "s`ave text > image" in all man pages, so > i did > $ man -K "save text image" Works on my system.
> and also > > $ man -K "save\ text\ image" > > in both cases, bash returned > > "sh: unsafe: command not found." No such problem here. distro, version of bash (or are you using /bin/sh for a shell?) > which kept scrolling through the screen until i ended > it with ctrl-c. > > however, "man -K" works nicely with single-word > arguments. > > is this a bug or a feature? :-) > how can i find the specified string in all man pages? Try whatis or apropos. > and will someone enlighten me about the function of > "chmod 1--- " ? chmod 1--- == chmod +t = set the temp bit. This lets every user write to the directory, but they can delete or modify only their own files. It is required for filesystems like /tmp, where all users have to be able to write to the directory, but they should not be able to modify other users files. > chmod 4--- sets the user id. Always run program as owner, regardless of who invokes the program. Example: passwd > chmod 2--- sets the group id. Run with the privileges of the group program. For a directory, this implies that all files created in that directory will automatically get that group as owner. info chmod/man chmod for more details. > "man chmod" says "chmod 1---" sets "save text image". > what is "save text image" ? how does it work? The save text image feature is wrt systems like Solaris, where /tmp is also the swap section. In Linux, this is usually a separate partition, or a separate file by itself. Hope this helps Devdas Bhagat _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
