LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Basic CLI (Command Line Interface) Tools Pt. 2

Posted 06-19-2013 at 06:35 PM by Nbiser

In Pt. 1, I covered basic command line tools and commands. I will continue that theme here, in Pt. 2.

First I would like to cover the command ps. This command is used to view processes. In its basic form without any options its output looks like this:
Code:
nbiser@linux-vqbm:~> ps
  PID TTY          TIME CMD
14933 pts/1    00:00:00 ps
17047 pts/1    00:00:00 bash
Here it only shows the most basic processes that are running on the system. PID stands for the process...
Member
Posted in Uncategorized
Views 1337 Comments 1 Nbiser is offline
Old

Basic CLI (Command Line Interface) Tools Pt. 1

Posted 06-04-2013 at 04:11 PM by Nbiser
Updated 06-04-2013 at 04:16 PM by Nbiser

There are many tools in the command line interface that are good to know if you want to use Linux. But don't worry, they aren't all that hard to learn! First, you will need to open a terminal window (only if you are using a graphical user interface (GUI). Once you are in the terminal you can type
Code:
ls
This will display the contents of your current working directory, which should look something like this,
Code:
bin      Documents  Music     Public       Templates
Desktop  Downloads  Pictures
...
Member
Posted in Uncategorized
Views 2364 Comments 2 Nbiser is offline
Old

An Introduction to Logs for Newbies Pt.. 2

Posted 05-10-2013 at 02:11 PM by Nbiser

In An Introduction to Logs for Newbies: Pt. 1, I took a look at basic log accessing and monitoring.In this one we will take a look at some more advanced logging, but don't worry, you don't need a chainsaw!

First, we will take a look at searching logs using grep. If you want to look for an entry for, say, eth0, you would type:
Code:
grep eth0  /var/log/*
This will show you all log entries relating to eth0, which will look somewhat like this:
Code:
/var/log/warn:Apr 16 20:20:48  linux-vqbm dhcpcd[12907]:
...
Member
Posted in Uncategorized
Views 418 Comments 0 Nbiser is offline
Old

Boston Marathon Bombing:

Posted 04-24-2013 at 03:42 PM by Nbiser
Updated 04-24-2013 at 04:20 PM by Nbiser

As we all probably know, there was a bombing in Boston during the marathon. There is now quite a bit of debate on this and surrounding issues. Were the bombing suspects Muslim terrorists? Why did they kill the MIT officer? etc. etc. I'm surprised that the liberal politicians haven't started saying, 'Ban all pressure cookers! After all, they can and were used as weapons of mass destruction!!' Indeed various leaders have come out and said that the constitution "needs to be reinterpreted to keep...
Member
Posted in Uncategorized
Views 2592 Comments 2 Nbiser is offline
Old

An Introduction to Logs for Newbies: Pt. 1

Posted 04-16-2013 at 01:38 PM by Nbiser
Updated 04-16-2013 at 01:47 PM by Nbiser

Logs are an important part of maintaining and managing a Linux system. This is a brief tutorial for accessing and reading a Linux log. First, you need to open a terminal window, you will first see a prompt similar to this on most systems.

Code:
nbiser@linux-vqbm:~>
You then need to type this:
Code:
ls /
This will bring up the contents of the root partition. You can see all of the various directories in the root partition such as these:
Code:
bin   dev  home  lib64       media  opt   root  sbin
...
Member
Posted in Uncategorized
Views 351 Comments 0 Nbiser is offline

  



All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration