Linux Tutorial

Welcome to the Linux Knowledge Base and Tutorial

so you want to learn how to use the Bash command line interface (terminal) on Unix/Linux. Or, it’s part of a subject you’re doing and so you’re learning it because you have to. Either way, that’s great. You’re learning how to use a powerful tool that can make your life easier, and make you awesome (more so than I’m sure you already are) .

Complete tutorial will cover the below things:-

  • Installation – Installation of different flavor of Linux
  • Un installation  –
  • The Command Line – What is it, how does it work and how do I get to one.
  • Basic Navigation – An introduction to the Linux directory system and how to get around it.
  • More About Files – Find out some interesting characteristics of files and directories in a Linux environment.
  • Manual Pages – Learn how to make the most of the Linux commands you are learning.
  • File Manipulation – How to make, remove, rename, copy and move files and directories.
  • Vi Text Editor – Discover a powerful Linux based text editor.
  • Wildcards – Also referred to as globing, this is a means to refer to several files in one go.
  • Permissions – Learn to identify and change the permissions of files and directories and what the consequences of these are.
  • Filters – An introduction to various commands that allow us to mangle data in interesting and useful ways.
  • Grep and Regular Expressions – Master a powerful pattern matching language that is useful for analyzing and processing data.
  • Piping and Redirection – Join commands together in powerful combinations.
  • Process Management – See what is currently running on your Linux system and what state the system is in, learn how to kill programs that have hung and put jobs in the background.
  • Scripting – Be happy. Get the computer to do tedious and repetitive tasks for you.
  • Cheat Sheet – A quick reference for the main points covered in this tutorial.
  • Administration  
  • Memory Management
  • Networking
  • Email System
  • File System and File Management
  • Utilities

 



linux date time set command

Use the blow command to set the linux date #date 072511242014 where 07= mm (Month) 25=dd (Date) 11=hh (Hour) 24=mm
Read More »

How to find/display your MAC Address: Unix/Linux

Linux As the root user (or user with appropriate permissions) Type “ifconfig -a” From the displayed information, find eth0 (this
Read More »

Execute root commands via PHP

I have a CentOS 5.7 linux server and use php5.3.x. On a pfSense system, you can restart services-that required root
Read More »

centos add and remove new user

To add a user to the system: Issue the useradd command to create a locked user account: useradd   Unlock the account by
Read More »

#1153 - Got a packet bigger than 'max_allowed_packet' bytes

Login to mysql and run the below command: set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;
Read More »

Backup and Restore Mysql database table

Dump and restore from .sql Dump mysqldump db_name table_name > table_name.sql Restore mysql -u <user_name> -p db_name mysql> source <full_path>/table_name.sql
Read More »

No route to host (113)

In host machine iptables is running and is blocking the port 5901. Kill all the vncserver desktop in the host machine
Read More »

httpd: unrecognized service

I’ve installed the Apache web server on Kali Linux and I’m able to start/stop it with: /usr/usr/local/apache2/bin/apachectl restart[start/stop] But if
Read More »

linux memoery space command

# df -h will show you where your free space (if any) is, on your mounted partitions. # du -sh
Read More »

Command for determining my public IP on linux PC

Finding external IP using external services The easiest way is to use an external service via a commandline browser or
Read More »

How can I download an entire website?

wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL –mirror : turn on options suitable for mirroring. -p : download all files that are
Read More »

Linux IP Commands

Display Current Config for all NIC’s: ifconfig Display Current Config for eth0: ifconfig eth0 Assign IP: ifconfig eth0 192.168.1.2 Ping:
Read More »

Linux Gateway / Router IP Address

How Do I Find Out My Linux Gateway / Router IP Address? need to use route command. This command can
Read More »

cgi-bin folder in a subdomain

Should I delete the cgi-bin folder in a subdomain A cgi-bin folder was automatically created in the directory for clothing.mysite.com.
Read More »

Clear Memory Cache on Linux centos

By default, every Linux OS has an efficient memory management system used to clear the buffer cache periodically. You can
Read More »

« Newer EntriesOlder Entries »
  • sultan69
  • panen99
  • sultan69
  • panen4d
  • panen4d
  • panen4d
  • panen4d
  • panen4d
  • panen4d
  • panen4d
  • panen4d