Sponsored Content
Full Discussion: use dot file in linux
Top Forums Shell Programming and Scripting use dot file in linux Post 302355838 by chakrapani on Thursday 24th of September 2009 12:37:56 AM
Old 09-24-2009
dot in front makes the files hidden file. but you can see with ls -a (-a option).

What you are asking about phone book is a big project !! look around on web, you might find something similar or pay someone to do the project for you.

Incase you are intrested Look at following in any scripting language:

How to create arrays ?
How to open files in read/write and append mode ?
How to separate records from a line you have read ?
What are hashes and how do you do a hash lookup
How to do a array lookup ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Replace path in a file with dot

Hi, I have a file with below values. /uvxapps/etl/Ascential/DataStage/DSEngine/dsenv.orig /uvxapps/etl/Ascential/DataStage/DSEngine/dsenv /uvxapps/etl/Ascential/DataStage/DSEngine/sample/.cshrc /uvxapps/etl/Ascential/DataStage/DSEngine/sample/.login... (3 Replies)
Discussion started by: njoshi
3 Replies

2. Shell Programming and Scripting

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf,... (1 Reply)
Discussion started by: goraya430
1 Replies

3. Programming

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf, "ss_xxx.pc... (4 Replies)
Discussion started by: goraya430
4 Replies

4. Shell Programming and Scripting

How to Removing a dot from a file name?

I need a script that will allow me to rename all of my files in subdir /FilesIn as follows: From kumc_835_111200.RMT.dat to kumc_835_111200RMT.dat kumc_835_111200.KMR.dat to kumc_835_111200KMR.dat .................etc How do I do that whithout doing a sed ... (10 Replies)
Discussion started by: mrn6430
10 Replies

5. Shell Programming and Scripting

grep'ing dot history file

Hi, I tried to grep ".sh_history" (DOTsh_history) file and did not return anything though I found the word in .sh _history file through vi editor in Linux. Then I tried to grep ".profile" to check if it is the prob with hidden files and I got results. Then I verified the same with my friend... (4 Replies)
Discussion started by: bobbygsk
4 Replies

6. Shell Programming and Scripting

List the file with a dot

I am on hp-ux and not able to catch the file with dot using a wild card. $ touch .test $ ls -l .test -rw-r--r-- 1 oracle dba 0 Mar 21 05:20 .test $ ls -l *test *test not found $ ls -la *test *test not found Why i am not able to list the file startign with .... (7 Replies)
Discussion started by: bang_dba
7 Replies

7. Shell Programming and Scripting

How to remove. (dot) if found in the beginning of file name while doing wget (download)?

Dear All, How to remove. (dot) if found in the beginning of file name while doing wget (download)? I am facing problem while re-sizing the image by using ImageMagick. Two dots in the file name are causing problem. ImageMagick is skipping such image with a dot . in the beginning, like ... (1 Reply)
Discussion started by: Praveen Pandit
1 Replies

8. UNIX for Advanced & Expert Users

Dot sourcing differences in ksh, AIX vs Linux vs Solaris

Why does dot sourcing of ksh functions behave so differently between AIX, Solaris, and Linux? How can I make Linux behave the way I want in the test I show below? I have a library of interdependent functions I have developed and use in ksh in AIX. They also run in Solaris. Now I am migrating... (9 Replies)
Discussion started by: charles_n_may
9 Replies

9. Red Hat

Dot matrix Printer configuring on Linux RHEL AS 5.1

Dear Experts, We have requirement to configure Dot matrix printer in linux, Also need to register in Oracle application R12.0.6 version where i need get the print in landscape format. Request you all kindly help on the same. Thank you, Alone. ---------- Post updated 02-18-14 at 01:02... (6 Replies)
Discussion started by: Alone
6 Replies

10. Shell Programming and Scripting

Rename except dot file extension

After reading the manual of the command rename I would like to apply it to a folder with a couple of files containing old style dots before the file-type, e.g. up.to.the.roof.avi. So I'd like to rename them without the dots in between. Therefore I tried it the following way rename -f -n ... (4 Replies)
Discussion started by: 1in10
4 Replies
GSMSMSSTORE(8)						      System Manager's Manual						    GSMSMSSTORE(8)

NAME
gsmsmsstore - SMS store manipulation program SYNOPSIS
gsmsmsstore [ -a ] [ --add ] [ -b baudrate ] [ --baudrate baudrate ] [ -c ] [ --copy ] [ -C service centre address ] [ --sca service centre address ] [ -d destination device or file ] [ --destination destination device or file ] [ -h ] [ --help ] [ -I init string ] [ --init init string ] [ -k ] [ --backup ] [ -l ] [ --list ] [ -s source device or file ] [ --source source device or file ] [ -t SMS store name ] [ --store SMS store name ] [ -v ] [ --version ] [ -V ] [ --verbose ] [ -x ] [ --delete ] [ -X ] [ --xonxoff ] { indices } [ phonenumber text ] DESCRIPTION
gsmsmsstore can store or retrieve SMS messages entries residing in a GSM mobile phone's SMS store to or from a file, add SMS messages to a store, or list the store's contents. Additionally, it is possible to add SMS submit messages to a store. gsmsmsstore reads entries from the source which can be a mobile phone (if a serial device file is given) or a file (if a file name is given). The source is never modified. gsmsmsstore writes SMS messages to a destination file or device in the case of --copy, --backup, and --add. The --list option does not change any file but just lists the contents to standard output. The --backup and --copy options require both source and destination files or devices. The --list option requires a source. The --add and --delete options require a destination file or device. If "-" is given as the parameter for the --source or --destination options, the SMS store is read from standard input and/or written to standard output, respectively. SMS message files are not human-readable. Error messages are printed to the standard error output. If the program terminates on error the error code 1 is returned. OPTIONS
-a, --add Adds an SMS submit message with recipient address phonenumber and text text to the destination. -b baudrate, --baudrate baudrate The baud rate to use. The default baudrate is 38400. -c, --copy This causes the contents of the source to be copied to the destination. After this operation the destination has exactly the same contents as the source. If indices are given on the command line only those SMS messages denoted by the indices are copied to the destination. -C service centre address, --sca service centre address Sets the service centre address to use for all SUBMIT SMSs (may not work with some phones). -d destination, --destination destination The destination device or file. -h, --help Prints an option summary. -I init string, --init init string Initialization string to send to the TA (default: "E0"). Note that the sequence "ATZ" is sent first. -k, --backup This causes those entries to be added from the source to the destination that are not already present in the destination. If indices are given on the command line only those SMS messages denoted by the indices are backed up (ie. added) to the destination. -l, --list Prints out the entire contents of the source in human-readable form. -s source, --source source The source device or file. -t SMS store name, --store SMS store name The name of the SMS store to read from or write to. This information is only used for device sources and destinations. A commonly available message store is "SM" (SIM card). -v, --version Prints the program version. -V, --verbose Prints out a detailed progress report. -x, --delete Delete the SMS messages as denoted by the indices from the destination. -X, --xonxoff Uses software handshaking (XON/XOFF) for accessing the device. EXAMPLES
The following command lists all entries in the mobile phone connected to /dev/mobilephone to the standard output: gsmsmsstore -b 19200 -s /dev/mobilephone -t SM -l The following adds entries 4, 7, and 10 from the device /dev/mobilephone to the file smsstore: gsmsmsstore -s /dev/mobilephone -d /home/fred/smsstore -t SM -b 4 7 10 AUTHOR
Peter Hofmann <software@pxh.de> BUGS
Report bugs to software@pxh.de. Include a complete, self-contained example that will allow the bug to be reproduced, and say which version of gsmsmsstore you are using. COPYRIGHT
Copyright (C) 1999 Peter Hofmann gsmsmsstore is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as pub- lished by the Free Software Foundation; either version 2, or (at your option) any later version. gsmsmsstore is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL- ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with gsmsmsstore; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. SEE ALSO
gsminfo(7), gsmctl(1), gsmpb(1), gsmsendsms(1), gsmsmsd(8). gsmsmsstore v1.10 Sat Jun 16 22:10:00 UTC 2012 GSMSMSSTORE(8)
All times are GMT -4. The time now is 07:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy