≡ Menu

HP-UX Unix

Search Text File In UNIX

How do I search the input text files for lines matching given words or strings under UNIX operating systems?
[click to continue…]

UNIX mv Command Examples

How do I use mv command to rename or move file under UNIX operating systems?
[click to continue…]

Tar Extract a Single File(s) From a Large Tarball

Q. I've couple of large tarballs such as www.tar and images.tar. Is it possible to extract a single file or a list of files from a large tarball such as images.tar instead of extracting the entire tarball? How do I extract specific files under Linux / UNIX operating systems?
[click to continue…]

HP-UX: Boot Into Single User Mode

Question: I know how to boot into single user mode under Linux and FreeBSD. But, how do I boot into single user mode under HP-UX (HP9000) UNIX operating system?
[click to continue…]

Q. How do I administer the printer configured under Linux file and printer server from a web browser?
[click to continue…]

My programs and scripts needs a real path and not a a symbolic link. How to I determine a real path of any directory under Linux / UNIX like operating systems? How do I remove references to /./, /../ and extra '/' character in path?
[click to continue…]

How To Find Files by Content Under UNIX

I had written lots of code in C for my school work and saved it as source code under /home/user/c/*.c and *.h. How do I find files by content such as string or words (function name such as main() under UNIX shell prompt?
[click to continue…]