Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Abool

#1
CompTIA has released Security+ SY0-401 certification.

It covers the following topics:
  • Application, Data and Host Security
  • Access Control and Identity Management
  • Threats and Vulnerabilities
  • Network Security
  • Compliance and Operational Security
  • Cryptography

Checkout the new Security+ SY0-401 Practice Tests

Download CompTIA Security+ Practice Exams and Questions
#2
Microsoft India has been conducting audits on several small businesses in India. They don't divulge as to how exactly they conduct the software audit. They depute a local rep to the company (usually with prior intimation). Once the auditors are inside the premises, they don't specify what they are going to do, but only ask for complete systems access. What was observed was that they had done forensics on each computer for past installations and inspected system and application logs, events, etc. This was done for each computer. They also use control panel and inspect things like s/w and h/w components installed in the systems. The auditor will not tell you what he's doing, but if you are knowledgeable, you will know that he is doing forensics on the systems (in the sense, that he is inspecting the logs/events/installed or uninstalled s/w etc). This is all done even without informing you what he's doing.

This only makes one to doubt how much Microsoft cares for privacy and confidentiality of other individuals and businesses.

I was told that after getting the report, they would pursue to buy any software that was used (but removed subsequently) or is being used if you don't have valid license from an authorized reseller in India.

One may ask as to why you need to allow an auditor to visit your premises? The answer is that they (Microsoft) say the matter would be escalated to their legal department if the audit is not allowed. Most small businesses don't have the capacity (like hiring a lawyer to reply to their legal enquiries, etc) to counter such a big company, and simply allow them to conduct an audit. It might so happen that some office s/w was installed without license (by some computer repair person, which you probably never used), and things would get complicated.

In the whole process, it is surprising how Microsoft is disregarding the Privacy and Confidentiality of the users (some times non users too) of its software in the process of doing software audit.

#3
Overview: The Microsoft Certified Solutions Associate (MCSA): Windows Server 2008 certification shows that you have the minimum set of skills needed to hit the ground running, and differentiates you as better able to work with Windows Server 2008 in a real-world business context. This certification validates a set of core Windows Server skills that are relevant across multiple solution areas. MCSA: Windows Server 2008 certification is a prerequisite for earning a MCSE: Private Cloud.

New to Certification, you need to pass the following exams:

Exam 640: Windows Server 2008: Active Directory, Configuring
Exam 642: Windows Server 2008 Network Infrastructure, Configuring
Exam 646: Windows Server 2008, Server Administrator

Already certified as a Microsoft Certified IT Professional (MCITP): Enterprise Administrator or MCITP: Server Administrator?

You have already earned the MCSA: Windows Server 2008 certification.
#4
Overview: Demonstrate your broad skill sets in building and administrating enterprise-scale data solutions both on-premise or in cloud environments by earning an MCSE: Data Platform certification.

For New Candidates, the following need to be completed:

a. MCSA SQL Server 2012
b. Exam 464: Developing Microsoft SQL Server 2012 Databases
c. Exam 465: Designing Database Solutions with Microsoft SQL Server 2012

For Upgrade, the following need to be completed:
a. MCITP: Database Developer 2008 or MCITP: Database Administrator 2008
b. Exam 457: Transition your MCTS on SQL Server 2008 to MCSA: SQL Server 2012?Part1
c. Exam 458: Transition your MCTS on SQL Server 2008 to MCSA: SQL Server 2012?Part 2
d. Exam 459: Transition your MCITP Database Administrator on SQL Server 2008
#5
Required to obtain the following:

MCSA: SQL Server 2012
Exam 466 Implementing Data Models and Reports with Microsoft SQL Server 2012
Exam 467 Designing Business Intelligence Solutions with Microsoft SQL Server 2012

MCSA SQL Server 2012, one need to pass the following:
461 Querying Microsoft SQL Server 2012
462 Administering a Microsoft SQL Server 2012 Database
463 Implementing Data Warehouses with Microsoft SQL Server 2012

EXAM AVAILABILITY

Exams 246, 247, 461, 462, 463, 464, 465, 466, and 467 are expected to be available in June 2012. Exams 457, 458, 459, and 460 are expected to be available by August 2012. Please check back frequently for updated release information.

Until January 31, 2013, Exam 70-659 may be taken in place of 70-247 to count towards the Private Cloud certification.

#6
MCITP / MCITP Frequently Asked Questions
May 25, 2012, 09:43:23 PM
Frequently Asked Questions

Q.  I have an MCITP on SQL Server 2008. How can I upgrade to an MCSE: Data Platform or MCSE: Business Intelligence certification?

A.

Customers who have achieved an MCITP on SQL Server 2008 will be able to earn an MCSE: Data Platform or MCSE: Business Intelligence certification by passing three exams. To upgrade from an MCITP: Database Administrator 2008 or an MCITP: Database Developer 2008, candidates must pass 70-457, 70-458, and 70-459. To upgrade from an MCITP: Business Intelligence 2008, candidates must pass 70-457, 70-458, and 70-460. These upgrade paths also earn the candidate the Microsoft Certified Solution Associate: SQL Server 2012 certification.

Q.  I'm pursuing an MCITP on SQL Server 2008. Should I finish it, or should I wait for the new certifications?

A.

Achieving an MCITP on SQL Server 2008 enables you to take advantage of a shorter path to upgrade your certification to SQL Server 2012. Additionally, you can demonstrate your skills on both versions of the product.

Q.  I have an MCTS on SQL Server 2008. How can I upgrade to the MCSA: SQL Server 2012?

A.

Customers who have achieved an MCTS on SQL Server 2008 will be able to earn the Microsoft Certified Solution Associate: SQL Server 2012 certification by passing two exams: 70-457 and 70-458.

Q.  I'm pursuing a SQL Server 2008 certification. How long will I have to complete it?

A.

You will be able to earn an MCITP or MCTS on SQL Server 2008 until July 2013.

Q.  Will I be able to earn MCTS certifications for passing exams that count towards the MCSA: SQL Server 2008 certification?

A.

You will continue to earn an MCTS for Exam 70-432 and exam 70-448 until July 2013. At that point, the MCTS certifications for all SQL Server 2008 exams will be discontinued.

Q.  Will each exam have a corresponding exam preparation book?

A.

Some exams will have Training Kits and others will have Exam References.

Q.  Why did you add a whole exam on querying?

A.

By seeing a successful result on this new exam, a hiring manager can be confident that the candidate has real-world querying skills.

Q.  Which types of items can I expect on these exams? Will there be any lab-based items or simulations?

A.

You can expect to see any of the question types shown in our two certification exam demos. We will also be introducing other item types that enable you to demonstrate your skills in a real-world context.

Q.  Is there a specific exam I should start with to pursue a SQL Server 2012 certification?

A.

70-461: Querying Microsoft SQL Server 2012 is the most logical starting point for pursuing a SQL Server 2012 certification. However, exams can be taken in any order.

Q.  When will the exams be available?

A.

Exams are scheduled to be available in mid-June in their live version. Upgrade exams are scheduled to be available by the end of August 2012.

Q.  Why don't the MCSE certification titles include a version number?

A.

Certifications that require recertification are not "versioned" in the sense that they do not reference a product version in the certification name and may cover multiple versions of the technology.

Q.  Are some of these exams required for both MCSE certifications for SQL Server 2012?

A.

Three exams that cover core technical skills are required for both of the SQL Server 2012 MCSE certifications. Passing these three exams earns you an MCSA: SQL Server 2012.

Q.  Why did you combine the database developer and database administrator certifications?

A.

As business needs evolve, so does the demand for a database professional with a broader skillset. To ensure our certification remains relevant in today?s changing IT landscape, we merged the database developer and database administrator certifications into an overall Data Platform certification. This change also aligns with the Microsoft Partner Network Competency.

Please check MS website for up to date list.
#7
New to certification, the following are recommended:
Exam 461: Querying Microsoft SQL Server 2012
Exam 462: Administering a Microsoft SQL Server 2012 Database?Part1
Exam 463: Implementing Data Warehouses with Microsoft SQL Server 2012?Part 2

You just need to upgrade your certification, then MS recommends the following:
Any MCTS on SQL Server 2008
Exam 457: Transition your MCTS on SQL Server 2008 part 1
Exam 458: Transition your MCTS on SQL Server 2008 part 2

Source: http://www.microsoft.com/learning/en/us/certification/cert-sql-server-mcsa.aspx

#8
MCSE Private Cloud / MCSE Private Cloud
May 25, 2012, 09:35:29 PM
The exams that are required for obtaining MCSE Private Cloud cert are:
MCSA Windows Server 2008
Exam 247 - Configuring and Deploying a Private Cloud with System Center 2012
Exam 246 - Monitoring and Operating a Private Cloud with System Center 2012

MCSA Windows 2008 may be achieved by the following criteria:
Exam 640: Windows Server 2008: Active Directory, Configuring
Exam 642: Windows Server 2008 Network Infrastructure, Configuring
Exam 646: Windows Server 2008, Server Administrator
By passing the above 3 exams, one may achieve MCSA Windows 2008 certification.

Already certified as a Microsoft Certified IT Professional (MCITP): Enterprise Administrator or MCITP: Server Administrator?

You have already earned the MCSA: Windows Server 2008 certification.

#9
There are some certifications that are nice to have and others that are simply "must haves" in today's competitive job market. In this article, we'll take a look at some of the certifications that IT Pros must have to be relevant today and some that will be gaining importance in years to come.

1. Project Management Professional (PMP)

The role of a project manager is to serve as the intermediary between the IT project team members and the key individuals who are involved with a project. A project manager tries to ensure that a project is completed in a timely manner and within all budgetary and legal constraints. The typical scope of project managers responsibilities include overseeing the processes and methodologies used for the successful completion of the project. The successful project managers can not only help save money for their company, but can also by ensuring all timelines are met (which some would argue is also money). There is a growing demand for skilled and competent IT project managers. These are the PMs who can work through a budgetary crisis and conflicting resource priorities.

2. Microsoft Certified System Engineer (MCSE)

The Microsoft Certified System Engineer (MCSE) certification was Microsoft's premier certification up to 2006. The MCSE has been around since the NT3.5 days (mid-'90s) and for 12+ years old in its current form. We have developed a certain comfort and familiarity with our beloved MCSE. An entire generation of IT Professionals has grown up knowing exactly where an MCSE fits into the certification scheme, and they also have a good idea of what is involved in earning the MCSE and also the financial and professional worth of this certification

This is not to mean that there haven't been additions and other enhancements to the program over the years. The original MCSE was earned on a specific variant of the NT system. So let's say you earned your MCSE on NT 3.51 and then on NT4. You were certified on those two systems - as a Systems Engineer. This same naming approach held true for Windows Server 2000 and Server 2003.

3. A+ (CompTIA) Computing Technology Industry Association

Of all the IT certifications available, few of them can be viewed as verifying and validating the computer skills of entry-level employees. The A+ Certification is one and has been extremely popular since originally released in 1993. The A+ certification validates foundation-level knowledge and skills necessary for a career in PC support.

This certification is viewed as the starting point for a career in the IT field. The CompTIA A+ certification is an international, vendor-neutral certification that proves competence in such computer areas as installation, preventative maintenance, networking, security, and troubleshooting

In January 2010, the ANSI (American National Standards Institute) to ISO (International Organization for Standardization), or ANSI/ISO-approved A+ certification had an expiration period to three years. Prior to this, those earning a CompTIA held the certification for life. With this change, current certificate holders will still have valid certifications for life, but any new certifications earned after December 31, 2010 will expire every three years.

4. Cisco Certified Network Associate (CCNA)

The CCNA certification is a highly regarded networking certification from Cisco. It is the second level of Cisco's five-tiered certification track. Having passed the CCNA exam (or exams; how many you take depends on which CCNA certification approach you decide to pursue), you have demonstrated a high degree of competency and have validated your skills in install, configure, operate, and troubleshoot medium-size routed and switched networks, including implementation and verification of connections to remote sites in a WAN

5. Certified Information Systems Security Professional (CISSP).

The Certified Information Systems Security Professional (CISSP) credential is for security managers and professionals who develop policies and procedures in information security. The CISSP certification has become the gold standard in information security certifications and education. Earning and maintaining a CISSP certification is required for many governmental, military, and civilian security positions. The CISSP was the first credential in the field of information security, accredited by the ANSI to ISO Standard 17024:2003. Earning your CISSP certification is not only an objective measure of excellence, but is a globally recognized standard of achievement.

6. IT Infrastructure Library Certification (ITIL?)

What is this ITIL that we hear so much about? The Information Technology Infrastructure Library (ITIL) is a foundational process that provides for quality IT Service Management. The success of ITIL is through the use of documented and proven processes that cover the entire IT Service Lifecycle. ITIL v3 is the current version of this widely adopted, best-practices framework for IT management The ITIL Foundation certification is the first of four levels and offers those who are certified a general awareness of the key elements, concepts, and terminology used in the ITIL Service Lifecycle, including the linkages between Lifecycle stages, the processes used, and their contribution to Service Management practices

7. Cisco Certified Voice Professional (CCVP) - CCNP Voice


Pick your voice flavor of choice: Lync Server 2010, Polycom, Avaya, or Cisco to name but a few. They all require highly skilled and knowledgeable people. This is even truer when trying to integrate conferencing or Unified Messaging into the network. VoIP is growing rapidly; businesses are demanding the integration of voice with their messaging and conferencing networks. The problem is that there just aren't that many experienced voice people, especially ones who are skilled in two or more platforms. If you happen to be a Cisco voice guru and have also mastered the intricacies of Lync Server 2010 Unified Messaging and conferencing, than you are set!

8. Certified Ethical Hacker (CEH)

A Certified Ethical Hacker (CEH) is a skilled security professional who understands the weaknesses and vulnerabilities in target systems and can be trusted to ethically penetrate corporate networks and/or computer systems using the same methods and tools as a malicious hacker in order to discover security problems. Individuals who have earned the CEH certification from EC-council may fulfill job roles such as security officers, auditors, security professionals, site administrators or anyone who is concerned about the integrity of the network infrastructure. The key point is that a CEH has written authorization to probe and possibly penetrate the target network.

9. VMware Certified Professional (VCP)

Virtualization and those who are knowledgeable on virtualization products are in heavy demand. VMware is one of the leading vendors of virtualization products and earning a VMware certification is the first step toward gaining industry-recognized expertise in virtual infrastructure and the industry recognition that goes along with it. The VMware Certified Professional (VCP) demonstrates that you have the skillset to successfully install, manage, and deploy VMware vSphere 5.

10. Security+ (CompTIA)

IT security is one of the fastest-growing fields in IT, and the Security+ certification validates the knowledge of security professionals. The Security+ certification was developed in 2002 to address the rise of computer and information security issues. Rather than an entry-level designation, Security+ has become an industry standard for security certifications. The Security+ certification encompasses such topics as: access control and identity management, application, data and host security, compliance and operational security, cryptography and access control, and threats and vulnerabilities. The United States Department of Defense, the DoDD 8570, IAT Level II certification guidelines list Security+ as one of four choices.

As of January 2010, the ANSI/ISO-approved A+ certification has expiration period of three years. Prior to this, those earning a CompTIA held the certification for life. Current certificate holders will still have valid certifications for life, but any new certifications earned after December 31, 2010 will expire every three years.
11. Microsoft Certified IT Professional (MCITP)

The MCITP certification is the successor to the venerable MCSE. The MCITP certification is tied to a specific product, and the certification will be retired when that particular product is no longer supported. This certification is for IT professionals who work with a variety of products and are involved with advanced planning. You earn your MCITP by taking two or more MCTS (Microsoft Certified Technology Specialist) exams, so while you re earning your MCITP, you will also earn MCTS certifications. Thus, you will earn one or more MCTS certifications on your way to earning an MCITP certification. Currently, there are 18 MCITP certifications available, covering such subjects as SQL, SharePoint, Windows Server, and Lync Server, among others.

Source:
globalknowledge.com/articles/generic.asp?pageid=3059&country=United+States&utm_source=twitter

#10
CCNA Certification / CCNA LABS ? Advanced-VLAN
January 18, 2012, 07:25:07 AM
Free Cisco Lab Advanced VLAN Switching



Today network engineers are employing more and more multilayer switched networks. These networks have the advantage of high throughput level 2 switching while retaining the level 3 routing functionality. The secret to the high performance of these networks is the hierarchical design model employing 3 layers Core, Distribution, and Access. This coupled with the advent of VLAN which breaks up collision domains has made the multilayer switched networks the design of choice.

In this Free Cisco Lab Scenario we will configure a complex multilayer switched network employing two switch blocks and all three level of this design topology. We will explore VLANs, Trunking, EtherChannel, and MLS as well as inter VLAN routing.
Before we get started with the lab I would like provide a short description of each of the layers in the hierarchical model.
Core:
The Core layer or Network Backbone primary function is to switch traffic as fast as possible. There should be no manipulation of data at this level such as packet filtering or routing. This layer provides connectivity between switch blocks and access to other blocks like WANs. But the main job is to switch packets as quickly as possible.
Distribution:
The distribution layer provide connectivity between the core and access layers it also differentiate the cor. This layer provides a boundary definition and designates where potentially expensive packet manipulations are handled. The distribution layer is responsible VLAN aggregation, workgroup access, broadcast or multicast domain definition, inter-VLAN routing, media translation, and security. Routing and packet filtering is handled at this layer.
Access:
The access layer provides connectivity for the end users to the network. This layer can provide filtering in the form of access list: however, the key function of this layer is to provide access for the end users to the network. This layer provides shared bandwidth, switched bandwidth, layer 2 services such as VLAN membership, and traffic filtering.

Connect the switches as shown in the network drawing.
Using the following chart configure management access on VLAN1 to the access level switches.
Access Layer:



Using the following chart configure management access on VLAN1 to the distribution level switches.
Distribution:



Configure the VTP domain on all access layer switches and change the VTP mode to server.
Configure all interfaces on access layer switches to the distribution layer switches as trunks.
Remove VLANs 51 and 52 from the trunk lines.
Create the following VLAN from one of the access switches on each of the switch blocks.

#11
CCNP Switch / CCNP Switch MLS with EIGRP lab
January 18, 2012, 06:53:05 AM


Question:

Still not sure about the question but we need to configure the Multilayer Switch so that PCs from VLAN 2 and VLAN 3 can communicate with the Server.

Answer and Explanation

mls>enable
mls# configure terminal
mls(config)# int gi0/1
mls(config-if)#no switchport -> not sure about this command line, but you should use this command if the simulator does not let you assign IP address on Gi0/1 interface.
mls(config-if)# ip address 10.10.10.2 255.255.255.0
mls(config-if)# no shutdown
mls(config-if)# exit
mls(config)# int vlan 2
mls(config-if)# ip address 190.200.250.33 255.255.255.224
mls(config-if)# no shutdown
mls(config-if)# int vlan 3
mls(config-if)# ip address 190.200.250.65 255.255.255.224
mls(config-if)# no shutdown
mls(config-if)#exit
mls(config)# ip routing (Notice: MLS will not work without this command)
mls(config)# router eigrp 650
mls(config-router)# network 10.10.10.0 0.0.0.255
mls(config-router)# network 190.200.250.32 0.0.0.31
mls(config-router)# network 190.200.250.64 0.0.0.31

NOTE : THE ROUTER IS CORRECTLY CONFIGURED, so you will not miss within it in the exam , also don?t modify/delete any port just do the above configuration.

in order to complete the lab , you should expect the ping to SERVER to succeed from the MLS , and from the PCs as well.

If the above configuration does not work, you should configure EIGRP with ?no auto-summary? command:
no auto-summary

Source: http: //packettracer.net/2011/09/10/mls-with-eigrp-lab/

#12
CCNP Switch / CCNP Switch Labs: LACP with STP Lab
January 18, 2012, 06:47:35 AM
SWTCH LAB



Tasks

1. Use non proprietary mode of aggregation
with Switch B  being the  initiator

2. Use non proprietary trunking and
no negotiation

3. Restrict only to vlans needed

4. SVI on vlan 1 with  ip 10.10.10.2
sbnm 255.255.255.0

5. Configure switch A so that nodes other
side of Router C  are accessible

6. Make switch B the root

Answer and Explanation:

Below is a good solution commented by toy_man123. Please say thank to him!

Each of these vlans has one host each on its port
SVI on vlan 1 ? ip 192.168.1.11 with snm

Switch B ?
Ports 3, 4 connected to ports 3 and 4 on Switch A

Port 15 connected to Port on Router.

Tasks to do

1. Use non proprietary mode of aggregation with Switch B being the initiator
? Assumed use LACP with B being in Active mode

2. Use non proprietary trunking and no negotiation
? Assumed use switchport mode trunk and switchport trunk encapsulation dot1q

3. Restrict only to vlans needed
? Assumed either vtp pruning or allowed vlan list. vtp pruning command did not seem to work on the simulator so landed using allowed vlan list

4. SVI on vlan 1 with some ip and subnet given

5. Configure switch A so that nodes other side of Router C are accessible
? Assumed this to mean that on switch A default gatway has to be configured.

6. Make switch B the root
? Could not get this to work. Exam hung when I tried the command
spanning-tree vlan 1,21-23 priority 4096
So passed on this configuration. Anyone else got this correct

What I tried ..
on Switch A
verify with show run if you need to create vlans 21-23

int range fa0/9 ? 10
switchport mode access
switchport access vlan 21
spanning-tree portfast
no shut

int range fa0/13 ? 14
switchport mode access
switchport access vlan 22
spanning-tree portfast
no shut

int range fa0/16 ? 16
switchport mode access
switchport access vlan 23
spanning-tree portfast
no shut

int range fa0/3 ? 4
channel-protocol lacp
channel group 1 mode passive
no shut

int port-channel 1
switchport mode trunk
switchport trunk encapsulation dot1q
spanning-tree allowed vlans 1,21-23
no shut

int vlan 1
ip address x.y.z.11 255.a.b.c
no shut

On switch B run the command show cdp neighbors detail and get the ip address of port from router C.

Now use this ip address of port of router C to configure as default gateway on Switch A
SA(config)# ip default-gateway 192.168.1.1

On switch B do only the channel group and port-channel stuff
Only mode is active instead of passive.

copy run start did not work. Tried combos of wr, copy running-config startup-config, copy system:running-config nvram:startup-config. All variations did not work.

Got some errors on mismatch of native VLAN. Switch B had some ports on vlan 98 configured for native vlan. Tried setting native vlan on Port-channel 1 on switch B to 1. Configuration command took but errors still were occuring. Ran out of time I had allocated so gave up.

Source: http: //packettracer.net/2011/09/10/bcmsn-new-lacp-stp-lab/
#13
*nix Related / Running a CRON Job
December 29, 2011, 08:53:23 PM
Using cron by DJG

On Unix systems, cron is used for automating tasks. Instead of getting out of bed at 3 A.M. to run a command that can be anything from backing up a drive, or a command that deletes old files, you can use cron to schedule those tasks.

There is no actually program called "cron". There are however, the program "crontab" and the daemon "crond". By running the "crontab" program, you can enter commands in a text file, and they will automatically be saved in the /var/spool/cron/ directory. For example my entries (for user djg) would be in /var/spool/cron/djg. The crond daemon reads the files regularly and executes the commands at the time they are scheduled for.

There are many different uses, from checking your broadband connection overnight to maintain a stream or hefty download, or simply checking up to see what's going on in your digitised social space. Let's run with that second one as a working example. Say for some reason, you want to check the output of the command 'w' every hour to see who's on.

The setup of a crontab file is as follows:

There are six fields:

field
1 minute (0-59)
2 hour (0-23)
3 day of month (1-31)
4 month (1-12, or name such as jan, feb, etc)
5 day of week ( 0-6(6 = Sunday) or name such as mon, tue,etc)
6 command to run

So an example could be this:

0 1 24 5 0 w

That will run a command at 1:00AM on Monday, May 24th. Now that gets a bit cyptic. To make it a little better, this would also work:

0 1 24 may mon w

But what if you want it to run every hour, regardless of date? An "*" means that that field doesn't matter, or do the command no matter what is in those fields. So to run our 'w' command every hour, the command would be this:

0 * * * * w

Which means that it runs everyday, every hour at the 0 minute mark, meaning the beginning of the hour.

A bunch of different variations of fields can be generated like this. For instance, say you wanted a command to run every 2 hours. You could specify the "hour" field as this: */2 Which would run at 2,4,6,8, etc...

You can also use commas to specify more than one time. For instance, say you want to run it at half past the hour, and a quarter of. You could specify the minute field as this: 30,45

If you use a dash between two values, it will include everything in between them. An example of this would be to run a command everyday for the first week of a month. The day of the month field would be this: 1-7

So to have the commmand run every 2 hours, at half past and a quarter of, and run for the first 7 days of a month. We would have this:

30,45 */2 1-7 * * w

To save the output to a text file, such as 'wholog' you could write the command like this:

0 * * * * w >> /home/djg/wholog

Now by default, you will be emailed the output as well, so to avoid this, add this to the command:

0 * * * * w >> /home/djg/wholog 2>&1

Also, if you didn't want any output at all you could redirect all output to /www.null like this:

0 * * * * w >> /www.null 2>&1

Now... that command is pretty useless since you don't get any output, but for some, like if your program performs a task such as checks to see if your CD is mounted and if so, unmounts it, or something that doesn't really require output, then it may be useful.

Now you may be wondering how you actually use crontab to get crond to run your command. To create or edit your cron entries, use the command 'crontab -e' this will open a text editor and then you can add cron entries to your hearts content, each on one line.

The command 'crontab -e' will run vi by default. If you don't want that, change your VISUAL enviornment variable. I have set up to run mine as pico with wordwrapping turned off (using the -w flag) You can do this in bash like this:

export VISUAL='pico -w'

Ok. So you've made a bunch of crontab entries and now want to see all the commands you've entered. You can use the command 'crontab -l' to list all of your crontab entries.

You can edit your crontab file and remove entries if you'd like, but if you want to nuke them all, use the command 'crontab -r'

Note: root can edit other users crontabs like this: 'crontab -e -u username'

A nice little trick is to setup a directory with a bunch of scripts you want run at a certain time, such as every hour, then make this entry in your crontab:

0 * * * * run-parts /home/djg/hour.cron/

Or something to that effect. That command will run everything in the /home/djg/hour.cron/ directory. /etc/crontab shows an example of this so you can check that out to see it in action.


Other Related Sites:


Suggest a link?:
mail us

Linux Hosting by www.d9x.net

Source: http://www.d9x.net/linux/guides/crons.php
#14
Search Engines / Google Panda - Quote of the Day!
October 15, 2011, 12:27:13 PM
QuoteI equate Panda to giving a blind man a gun, in a crowded gun range, spinning him around and asking him to hit the target. Panda is about as accurate as that blind man would be and certainly has left many innocent victims on the floor bleeding.

turbocharged - WebmasterWorld
webmasterworld.com/google/4374667.htm
#15
Juniper Certification Resources / JNCIA - passed today.
September 05, 2011, 09:47:10 PM
JNCIA - passed today.

    Well despite saying I was going to postpone this exam until later in the year I carried on and sat the exam today. I had been studying a few weeks when I thought maybe doing vista and then 2008 server (MCITP) would benefit me more in a working capacity. However, 20 minutes after picking the Vista book up I was bored senseless and decided to return to the study I was enjoying.

    I scored 80% , 65 questions.

    Used:

    2 free pdf study guides (Juniper Website)
    Online course: Networking Fundamentals (Juniper Website)
    Online Course: Junos as a second language (Juniper Website)
    Free pdf - JNCIA Study guide (Juniper Website)
    CCNA Study guides for parts

    I spent a total of 5 weeks at 4-5hrs per night.
#16
Planning for Network+ preparation during the next few months. Which practice tests have you used? Came across these while searching the Internet:

CertExams.com
http://www.certexams.com/comptia/net+/online-exam-details.htm
Boson http://www.transcender.com/certprep/comptia/network-plus.kap
Transcender http://www.boson.com/Product/Network+.html
SimulationExams.com
http://www.simulationexams.com/exam-details/network-plus.htm
#17
CCNA Certification / Which network simulator you used?
September 03, 2011, 07:38:33 AM
A newbie here. Which network simulator do you recommend for a fresher?  A home lab is too expensive and therefore, looking for an inexpensive network simulator for CCNA prep.
#18
CCNA Certification / CCNA Lab Equipment
September 02, 2011, 01:39:43 PM
I am new to the forum and after doing research the last couple weeks (this forum was invaluable in that research, thanks!), I went ahead and purchased equipment for a CCNA Lab and would appreciate your feedback.

Routers:
3x 1721(128/32)12.4
1x 2621XM (128/32)12.4
1x 2611 Access server

Switches:
3x2950

WIC:
3x WIC 2T
3x T1
2x 1ENET

plus all the cables (t1 crossovers,smart serial crossovers,cat5e patch and crossover, octal cable for access server)

Is there anything you would recommend I add? I plan on pursuing CCNA Security and eventually CCNP after CCNA.