RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Linuxconfig.org - Linux Questions and Answers

Location of cp command

Last Updated on Friday, 01 April 2011 18:26

Question:
What is the exact command that makes a guess about the content of a file "instructions" without displaying that content?

Answer:

file

A command file takes a best guess about a file content.
NOTE: file command does not rely on a file extention.

Share this linux post:

Submit Location of cp command in Delicious Submit Location of cp command in Digg Submit Location of cp command in FaceBook Submit Location of cp command in Google Bookmarks Submit Location of cp command in Stumbleupon Submit Location of cp command in Technorati Submit Location of cp command in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.
Add a comment

Read more: Location of cp command

 

Command that makes a guess about the file content

Last Updated on Friday, 01 April 2011 18:26

Question:
What is the exact command that makes a guess about the content of a file "instructions" without displaying that content?

Answer:

file

A command file takes a best guess about a file content.
NOTE: file command does not rely on a file extention.

Share this linux post:

Submit Command that makes a guess about the file content in Delicious Submit Command that makes a guess about the file content in Digg Submit Command that makes a guess about the file content in FaceBook Submit Command that makes a guess about the file content in Google Bookmarks Submit Command that makes a guess about the file content in Stumbleupon Submit Command that makes a guess about the file content in Technorati Submit Command that makes a guess about the file content in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.
Add a comment

Read more: Command that makes a guess about the file content

   

Command to locate the word within a text file

Last Updated on Friday, 01 April 2011 18:27

Question:
Give the exact command that can locate the word "to" (without quotes) in a file named "file1" (without quotes), but does not display words like "total" or "stone" that are in the same file.

Answer:
-w option of a grep commad allows user to search a content of a file for a words, where word is separated on both sides by a white space.

grep -w to file1

Share this linux post:

Submit Command to locate the word within a text file in Delicious Submit Command to locate the word within a text file in Digg Submit Command to locate the word within a text file in FaceBook Submit Command to locate the word within a text file in Google Bookmarks Submit Command to locate the word within a text file in Stumbleupon Submit Command to locate the word within a text file in Technorati Submit Command to locate the word within a text file in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.
Add a comment

Read more: Command to locate the word within a text file

   

Keyword search in the online manual

Last Updated on Friday, 01 April 2011 18:27

Question:
Do a keyword (-k) search in the online manual for the word "grep". How many man PAGES are there where the word "grep" appears? What command did you use to get the result?

Answer:

To search for a specific keyword within online manual pages we can use a man -k command. For exmaple to search for a keyword grep we use:

man -k grep

another alternative to man command is apropos command:

apropos -k grep

Both commands will return the same number of results.

Share this linux post:

Submit Keyword search in the online manual in Delicious Submit Keyword search in the online manual in Digg Submit Keyword search in the online manual in FaceBook Submit Keyword search in the online manual in Google Bookmarks Submit Keyword search in the online manual in Stumbleupon Submit Keyword search in the online manual in Technorati Submit Keyword search in the online manual in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.
Add a comment

Read more: Keyword search in the online manual

   

Differences between the cat and ls utilities

Last Updated on Friday, 01 April 2011 18:27

Question:
What are the differences between the cat and ls utilities, with respect to file content?

Answer:
ls without any arguments will return a file name and thus it does not directly read a content of the file. Whereas cat will return a content of a file.

Share this linux post:

Submit Differences between the cat and ls utilities in Delicious Submit Differences between the cat and ls utilities in Digg Submit Differences between the cat and ls utilities in FaceBook Submit Differences between the cat and ls utilities in Google Bookmarks Submit Differences between the cat and ls utilities in Stumbleupon Submit Differences between the cat and ls utilities in Technorati Submit Differences between the cat and ls utilities in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.
Add a comment

Read more: Differences between the cat and ls utilities

   

Page 9 of 10