≡ Menu

unix linux

I have UNIX workstation and Linux server at work and Ubuntu desktop at home. It is recommended that I use ssh tunnel the VNC protocol for secure communication. How do I access my UNIX workstation desktop here at home over the Internet using ssh?
[click to continue…]

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…]

Delete SSH Keys

One my user leaves the office and I'd like to disable her access to our UNIX / Linux system. How do I delete ssh key from the UNIX systems so that user can not log in?
[click to continue…]

I would like to move a directory one level up into the root directory. I've all html files located in /home/apache2/www/html directory, and I'd like to move /home/apache2/www/html to one level up at /home/apache2/www/. How can I accomplish this over the ssh session?
[click to continue…]

How do I securely transfer files from one UNIX / Linux server to another UNIX server using Windows or Linux desktop clients without using ftp client?
[click to continue…]

How do I call Oracle or MySQL sql statements in UNIX / Linux shell scripts?
[click to continue…]

CentOS / Redhat: Turn On SELinux Protection

SELinux enforces the idea that programs should be limited in what files they can access and what actions they can take. However, by default it is turned off under RHEL / CentOS 5.x server? How do I turn it on? How can I enable SELinux on CentOS / RHEL 6 IBM server?
[click to continue…]

HowTo: Find Python Version

How do I find out python programming language version under UNIX / *BSD / Linux / Apple OS X operating systems?
[click to continue…]

HowTo: Skip Bash For Loop

How do I skip bash for loop if certain condition is satisfied under UNIX / Linux / BSD / OS X?
[click to continue…]

Where Are MySQL Files Stored in UNIX / Linux

Where are my mysql database and table files are stored in UNIX or Linux operating systems?
[click to continue…]