Unix Tutorials and HowTos

Question and answer for users of Unix-like operating systems. Topic includes – Unix commands, servers, security, networking, shell programming, troubleshooting and much more ( rss feed ).

I have Soekris single board communication embedded computers which is optimized for low power and network usage. The server has four Ethernet ports. I’ve installed PFSense firewall on it and configure WAN + LAN ports. How do I setup IPv4 software bridge using PFSense so that the rest of ports act as a network switch?

{ 2 comments }

I‘m using CentOS 7 server. I need to run a command when I logout using ssh or bash shell. So in Linux and Unix-like systems, how can I run a command to execute when I log out my session?

{ 0 comments }

I‘m a new Linux, OS X or Unix-like system users. I’m using bash shell. I made changes to my $HOME/.profile ($HOME/.bash_profile) file. How can I restart my session without doing logout and login again?

{ 3 comments }

I‘m a new FreeBSD unix user. How can I install MySQL and/or MariaDB database server on a FreeBSD unix based system?

{ 1 comment }

I want to extract tar file to specific directory called /tmp/data. How can I extract a tar archive to a different directory using tar command on a Linux or Unix-like systems?

{ 3 comments }

I‘m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?

{ 1 comment }

I‘m a new MySQL server user. My server is running on a CentOS Linux. How can I check the number of active MySQL connections on Linux based system?

{ 0 comments }