Linux

How to create a symbolic link in Linux

H

What is a symbolic link? A symbolic link is a special file that points to another file on the system. When you access one of these files, it has a pathname stored inside it. Use this pathname to advance to the file or directory on the system represented by the pathname stored in the symbolic link. How to create a symbolic link? Create a symbolic link with the ln command with the -s option...

Wireless network problems with DELL Vostro running Ubuntu

W

Problem: Can’t connect to wireless network using Ubuntu together with Dell Vostro notebook or wireless light is not burning or any other wireless connectivity problems with the Dell Vostro running Ubuntu. Solution: The network service needs to be restarted once all the other services are started. Add the line to the file /etc/rc.local /etc/init.d/networking restart  And reboot the PC and...

How to install Right click open in terminal Ubutu

H

I’m using Ubuntu 9.04 and needed to have the RIGHT CLICK OPEN IN TERMINAL option enabled. eg. If you need to work in the desktop directory via the terminal and you don’t want to navigate to the directory via typing this application will come in handy.  To enable/install this follow the steps below. STEP 1 Make sure you are connected to the Internet STEP 2 Open the terminal STEP 3 Type...

How To Install The Internet Explorer On Ubuntu 8.04/9.04

H

This tutorial will guide you how to install Internet Explorer on UBUNTU Linux via IEs4Linux. IEs4Linux only contains Internet Explorer 5, 5.5 and 6. IEs4Linux comes in handy especially for Web Developers who need to test their web applications on Internet Explorer. NOTE: For security reasons only use IEs4Linux for development and not to surf the Internet. STEP 1 Open the Terminal and execute the...

Amarok loops through all items in playlist when trying to play mp3’s using Ubuntu 9.04

A

When adding new items to Amarok in Ubuntu 9.04 the items do not want to play and Amarok only loops through the whole playlist and no sound is heard. Follow the steps below in order to solve the problem STEP 1 Remove GStreamer ffmepeg video plugin, GStreamer extra plugins and Movie Player (GStreamer) via Add/Remove  (Applications ->  Add/Remove) STEP 2 Open a new Terminal session and type in...

How to copy files over SSH using SCP Linux command line tool

H

SCP = SECURE COPY (remote file copy program), with SCP you can copy files over an SSH connection securely and encrypted. With this Linux command line toolyou can copy files remotely from one remote server to another, or from you’re PC to a remote server. USAGE = scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program]...

How to add the Trash Can Icon to your Ubuntu Desktop

H

How to add the Trash Can Icon to your Ubuntu Desktop? Ubuntu has the ability for you to add the Trash Can to you’re Desktop. STEP 1 Press the Alt+F2 keys together to open the Run Application window. STEP 2 In the text field type in gconf-editor and hit the Run button.   STEP 3 Locate/browse to the following location apps->nautilus->desktop STEP 4 Check...

How to uninstall Skype in Ubuntu

H

STEP 1 On the Top Menu Bar click on System->Administration->Synaptic Package Manager STEP 2 Search for Skype STEP 3 Click on the checkbox next to the package skype and click on MARK FOR COMPLETE REMOVAL   STEP 4 Click on Apply and a Summary Window will pop up. Click on Apply again.   STEP 5 The uninstall process should start by Removing Skype and Applying Changes...

How to restore panels in Ubuntu to their default settings

H

How to restore panels in Ubuntu to their default settings after maybe deleting the Panels or accidentally removed an icon or something? You could always add the Panels/Icons one by one, but that’s time consuming. The quickest answer is below. STEP 1 Start a Terminal session. To do this press ALT+F2 together. The Run Applicationwindow should appear.Type in “gnome-terminal” click...

How to search for certain text/information within files using Linux

H

Example: If you have a directory with 10 000 text files in it and you need to find a certain word in a certain file but you aren’t sure what the name of the file is. You can use the method described below to find the file with selected text within it. Answer: In the command line type the following command: grep -rni “Hello World” *.txt and press enter to execute the command...

How to check the how much disk space you have left using the command line in Linux

H

In the Command Line type in the following command: df -h and press enter.
Results will look similar to the below.
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7              74G   36G   35G  51% /

Explanation of command:
df = report file system disk space usage
-h = print sizes in human readable format (e.g., 1K 234M 2G)

How to compress a whole directory in Linux using gzip format

H

How to compress a whole directory in Linux using gzip format via the command line?   This is a perfect way of creating backups of your files and folders or emailing filesto a friend or colleague. This could also be called a compressed archive. First this command creates the archive and then it compresses the archive.   Lets put it to practice You have a directory called documents where...

I installed phpMyAdmin in Ubuntu 9.04 via apt-get install but when I type http://localhost/phpmyadmin in the address bar in my Internet Browser the page is not found

I

I installed phpMyAdmin in Ubuntu 9.04 via apt-get install phpmyadmin but when I type  in the address bar in my Internet Browser the page is not found?  I have installed PHP, Apache2, mySql and have restarted Apache but still nothing happens when I type . Create a symbolic link in /etc/apache2/conf.d that points to/etc/phpmyadmin/apache.conf Files included in the /etc/apache2/conf.d/ directory are...

How to add a Apache VirtualHost on Ubuntu

H

With this tutorial I assume that you know what Apache web server is and that you have PHP and Apache installed on your machine. Also ensure that you are able to serve web pages. NOTE: This has been tested on Ubuntu 9.04   Answer: Open your Terminal Window or the command line. Navigate to the /etc/apache2/sites-available directory with this command: cd /etc/apache2/sites-available Create...

How to check how much memory you have available on Ubuntu (Linux)

H

Open a Terminal Window if not yet in command line Type in the following command: cat /proc/meminfo This will display a resultset as below of how much memory you have left MemTotal:        1974152 kB MemFree:          373196 kB Buffers:          107380 kB Cached:           881568 kB SwapCached:        13288 kB Active:           872248 kB Inactive:         640876 kB Active(anon):     599548 kB...

How to change your password via Command Line in Linux

H

Type in the following command: passwd and hit enter!
Now you will need to enter your current password.
Changing password for YOURNAME.
(current) UNIX password:
Type in your password and hit enter

Now enter your new password:
Enter new UNIX password:

Retype your new password:

Retype new UNIX password:

That’s all! Now you should be able to use your new password

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me