gnu

Truncate: UNIX Binary Log File

by Vivek Gite on October 27, 2010 · 0 comments

How do I truncate a UNIX binary log file using command line options?

{ 0 comments }

Linux/UNIX: Move File Starting With A Dash

by Vivek Gite on February 20, 2010 · 9 comments

In Unix or Linux operating systems, how do I move file(s) starting with a dash (e.g., /home/you/–filename.txt or /home/you/-filename.txt)?

{ 9 comments }

Apple Mac OS X Open And View .chm File

by Vivek Gite on January 28, 2010 · 3 comments

I know how to open .chm files under Linux, but how do you open and view .CHM files under Apple Mac OS X?

{ 3 comments }

How can I remove the ^M or ^M (carriage Return / line feed ) from text file using sed under UNIX or Linux operating systems?

{ 1 comment }

Can you explain me usage of nullglob variable under BASH? How do I check for any *.c files in any directory?

{ 6 comments }

I‘d like to match all filename like foo.c, FOO.C, fOO.c, Foo.C and so on using find command under UNIX. How do I do a case-insensitive find search under Sun Solaris / OpenSolaris UNIX systems?

{ 0 comments }

Q. How do I ignore hidden .dot files while searching for files? How do I ignore or exclude certain files while running Linux / UNIX find command?

{ 3 comments }