≡ Menu

unix and linux

Linux / Unix Shell: Set Default Printer

How do I set default printer in my Bash shell under CentOS Linux or FreeBSD unix desktop operating systems?
[click to continue…]

Truncate: UNIX Binary Log File

How do I truncate a UNIX binary log file using command line options?
[click to continue…]

HowTo: Find Symlink under UNIX / Linux

How do I find symlink(s) under UNIX and Linux operating systems?
[click to continue…]

HowTo: UNIX / Linux Open TCP / UDP Ports

How do I open the TCP or UDP ports under UNIX / Linux like operating systems?
[click to continue…]

Reboot Linksys WAG160N / WAG54 / WAG320 / WAG120N Router / Gateway

I'm using a Cisco Linksys WAG320N Router to connect my OS X UNIX and Linux systems to the Web. How do I reboot my Linksys WAG series router / gateway (modem) from UNIX / Linux / OS X bash command prompt or using a shell script?
[click to continue…]

CentOS / Redhat: Setup NFS v4.0 File Server

How do I setup NFS v4.0 distributed file system access server under CentOS / RHEL v5.x for sharing files with UNIX and Linux workstations? How to export a directory with NFSv4? How to mount a directory with NFSv4?
[click to continue…]

Linux / UNIX List User Dot-Files

How do I list only user dot-files from $HOME under UNIX and Linux operating systems? How do I ensure that user Dot-Files are not World-writable?
[click to continue…]

Linux: Find Files By Date

How do I find file by date under UNIX and Linux?
[click to continue…]

HowTo Compiling C Program And Creating Executable File Under a Linux / UNIX / *BSD

How do I compile C program and create an executable file under Linux or UNIX operating systems?
Sample Unix C Program
[click to continue…]