FreeBSD

I need to do router or network switch configuration via a console port such as COM1 (ttyS0 under Linux). How do I use the screen command for a serial terminal emulator network with different baud rates under UNIX or Linux operating systems?

{ 0 comments }

I know how to use rsync for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer. However, I would like to synchronizing files between two directories, either on one computer, or between a computer and another server. How do I maintain the same version of files on multiple servers?

{ 2 comments }

I‘m going to upgrade my FreeBSD 7.x server hard disks and going to send back the original 73GB hard disk to my vendor. I wanted to make sure that no one should able to use my personal data from old hard disk, especially files stored in /home/you/projects directory. I know how to use sDelete under MS-Windows to delete a file permanently. How do I permanently erase files under FreeBSD operating systems?

{ 2 comments }

I‘m trying to set ‘thread_concurrency to 8 under Linux MySQL server. But when I try to restart the mysql server, I get the following error:

[ERROR] /usr/local/libexec/mysqld: unknown variable ‘thread_concurrency=8′

How do I fix this problem?

{ 0 comments }

I want find out if a command exists on UNIX from a bash shell script. If command does not exists, then I would like to display an error message on screen. How do I find out if a command exists on Posix system or not?

{ 3 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 }

How do I display my current path settings under Linux / FreeBSD / OpenBSD / NetBSD / Apple OS X / UNIX like operating systems using bash or ksh or csh / tcsh shell?

{ 0 comments }