Bash

Tutorials and information about the bash terminal in Linux.

In this tutorial we walk through setting up two users with sudo access. The first example we will just add a single user. In the second example we will create a group, configure the group sudo permissions and then add the user to the group. The second method allows us to scale quickly for new users that will need sudo access.

With Gimp 2.7.3 you can now enable single window mode. This allows new users that are use to Adobe Photoshop feel at home. In this tutorial we will install the newest release of GIMP in Arch Linux with two quick commands. Let's Get started!

You can shutdown or restart your desktop or server with a simple command in bash. It could come in very handy if you ssh into your server or desktop. In this example I a doing it in on Arch Linux with a sudo user. The same commands can be applied in just about any linux distribution such as Ubuntu. You often have to issue the commands as the root user or with sudo in front of the command. (Example: sudo shutdown -r now)

Open up a terminal window

To restart your computer right away type in sudo shutdown -r now

 

The Following Steps can be applied to any Linux Desktop with Bash. This includes Gnome 2, Gnome 3, XFCE, KDE and Unity. This example I am using Ubuntu with the Unity desktop enviorment. If you need help on how to launch a terminal please visit the following links for your desktop.

When power windows users come over to Linux they are often looking for a command similar to ipconfig /all on Linux. Unfortantly I am not aware of a complete replacement one comamnad to occomplish this. You can use the ifconfig command to view your IP address or cat /etc/resulve to view DNS names.

The real power of Linux happens at the command line. As time goes on users use the terminal less and less due to the the enhancements on the graphical front ends. There are still many times having some skills with bash commands are very useful.  In this tutorials we will just cover how to launch a terminal in Gnome 2

Note: Changing your default ssh port does not guarantee that you won't get hacked. How ever changing the default really helps cut down on the attempts. Please make sure you have other secure practices in place such as strong passwords.

 

 

With the new desktop enviorment (Unity) in Ubuntu, you now need to take a few extra steps to open a terminal compared to Gnome 2 in the past.

 

Click on the Ubuntu Icon located in the upper left corner.

 

 

With Gnome 3 there are a few extra steps you need to take when to launch a terminal.

 

Slide you mouse in the upper left corner (Activities)

 

 

Often when you setup multiple websites on a single web server it can be difficult to figure out what database your Joomla site is using. Some times admins get lazy and create poor names or a hosting provider may just give you a random generated database name. In this tutorial we will look at four different methods on how to find the database name of your Joomla site.

If you are looking for information on what is the mysql database username and password are set to, use the "Find Your Joomla Database Name and Login Information with SSH:" steps below.

(Note: Joomla 1.7 was used in the following examples. The same steps should apply to other versions as well.)

 

 

Pages

Please Help - Congress needs to hear from you, or this bill pass

 

PROTECT IP / SOPA Breaks The Internet from Fight for the Future on Vimeo.

 

PROTECT IP / SOPA Breaks the Internet

 

  fightforthefuture.org/pipa

 

 

Subscribe to RSS - Bash