Category: Ubuntu


How to execute a bash script in Ubuntu by double clicking it

> Ensure that your script begins with the correct command. For ex. #!/bin/bash#!/bin/bash > Install dconf Editor: sudo apt-get install dconf-editorsudo apt-get install dconf-editor > Open dconf Editor > Navigate to org > gnome > nautilus > preferences > Find executable-text-activation and from the dropdown menu select launch or ask.

SVN, Ubuntu

How do I install svn in Ubuntu 14

1. Add rabbitcvs repository sudo add-apt-repository ppa:rabbitvcs/ppasudo add-apt-repository ppa:rabbitvcs/ppa 2. Update system repos sudo apt-get updatesudo apt-get update 3. Install rabbitcvs components sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3 4. Permissions sudo chown -R myusername:mygroup ~/.config/rabbitvcssudo chown -R myusername:mygroup ~/.config/rabbitvcs

General, Linux, Programming, Ubuntu

First Official Pro Linux Laptop Released!

First official pro notebook that is released with Linux: DELL XPS 13, Developers Edition. Enjoy Ubuntu 12.04 LTS on up to 8GB RAM, 256GB SSD HD, full HD 1080p display on less than 1.40kg. Congrats to DELL for stepping forward on offering the Linux world to the IT/Engineering-Pro world with such nice specs!

Linux, Ubuntu

Ubuntu – List remote host shared folders

Usage: smbclient -U <username> -L <hostname>smbclient -U <username> -L <hostname> smbclient -U <username> -L <ip address>smbclient -U <username> -L <ip address> Example: smbclient -U test -L -U test -L Results: Enter test’s password: Domain=[TESTING] OS=[Windows 7] Server=[Windows 7] Sharename Type Comment ——— —- ——- ADMIN$ Disk Remote Admin C$ Disk Default share E …

Linux, Ubuntu

Change the hostname or computer name in linux

1. Open a terminal window. 2. Type the following command and hit Enter: sudo gedit /etc/hostnamesudo gedit /etc/hostname 3. Replace the current computer name with the desired new name and save. 4. Type the following command: sudo gedit /etc/hostssudo gedit /etc/hosts 5. Change the old line to your new hostname. 6. Reboot

IDS/IPS, Security, Ubuntu

Install Snort IDS on Ubuntu

SnortĀ® is an open source network intrusion prevention and detection system (IDS/IPS) developed by Sourcefire. Snort Home Page Installation We need Apache, Mysql and PHP. Read this post for instructions on how to install LAMP. Create Snort database Connect to mysql server: mysql -u root -pmysql -u root -p Execute CREATE DATABASE snort;create database snort; …