Sponsored Content
Top Forums UNIX for Dummies Questions & Answers File names that contain "01" act hidden Post 2859 by Optimus_P on Thursday 7th of June 2001 04:50:43 PM
Old 06-07-2001
$ ls
01 01new
$ touch .01
$ ls
01 01new
$ ls -l
total 0
-rw-r--r-- 1 UID GID 0 Jun 7 15:50 01
-rw-r--r-- 1 UID GID 0 Jun 7 15:50 01new
$ ls -la
total 4
drwxr-xr-x 2 UID GID 512 Jun 7 15:52 .
drwxrwxrwx 7 UID GID 512 Jun 7 15:50 ..
-rw-r--r-- 1 UID GID 0 Jun 7 15:52 .01
-rw-r--r-- 1 UID GID 0 Jun 7 15:50 01
-rw-r--r-- 1 UID GID 0 Jun 7 15:50 01new
$ echo $SHELL
/bin/ksh



are you sure it is not beganing with "." ??

Last edited by Optimus_P; 06-07-2001 at 05:53 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

total number of files which have "aaa" in files whose names are File*_bbb*

I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*. grep -l "aaa" File*_bbb* But I want to count the number of files. That is I want the total number of files which have "aaa" in files File*_bbb* If I run the following for getting number of... (1 Reply)
Discussion started by: sudheshnaiyer
1 Replies

2. UNIX for Advanced & Expert Users

how to remove a file names as "-a"

Hi, How to remove a file accidently named (created) as "-a". I have tried rm \-a but its not working. (6 Replies)
Discussion started by: apsprabhu
6 Replies

3. Shell Programming and Scripting

Compare file names and select correct elements to include in "for each loop"

Hi everyone, I`ll try to be most clear I can explaining my help request. I have 2 folders Folder A-->This folder receives files through FTP constantly Folder B-->The files from Folder A are unzipped and then processed in Folder B Sometimes Folder A doesn`t contain all... (2 Replies)
Discussion started by: cgkmal
2 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

Removing "Hidden Characters" on a file

Hi - I'm having a problem with hidden characters on Linux. When I produced an output from Oracle database, there is a an extra "Hidden Character" included on the output. How can I remove that character? See below: The extra dollar sign is creating a new line on my .csv output file. I... (16 Replies)
Discussion started by: Jin_
16 Replies

6. Shell Programming and Scripting

The "read" command misinterprets file names containing spaces

The "read" command, which is built into bash, takes words from the standard input. However, "read" is not good at taking file names if the file names contain spaces. I would like my bash script to ask the user to enter file names, which may contain spaces. Can you think about any technique for... (14 Replies)
Discussion started by: LessNux
14 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Compare Only "File Names" in 2 Files with file lists having different directory structure

I have a tar arcive arch_all.tar.gz and 4 batched tar archive . These batches are supposed to have all the files form arch1.all.tar.gz arch1_batch1.tar.gz arch1_batch2.tar.gz arch1_batch3.tar.gz arch1_batch4.tar.gz my issue is that the directory structure in "arch_all.tar.gz" is... (6 Replies)
Discussion started by: sumang24
6 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
UNIXSERVER(1)						      General Commands Manual						     UNIXSERVER(1)

NAME
unixserver - UNIX domain socket server SYNOPSIS
unixserver [options] socket program DESCRIPTION
Unixserver is UNIX domain socket server that conform to UCSPI, the UNIX Client-Server Program Interface. OPTIONS
-q Quiet. Do not print any messages. -Q (default) Print error messages. -v Verbose. Print error and status messages. -d Do not delete the socket file on exit. -D (default) Delete the socket file on exit. -u UID Change user id to UID after creating socket. -g GID Change group id to GID after creating socket. -U Same as '-u $UID -g $GID'. -o UID Make the socket owned by UID. -r GID Make the socket group owned by GID. -O Same as '-o $SOCKET_UID -r $SOCKET_GID'. -p PERM Set the permissions on the created socket (in octal). Note: this option, if set, overrides the mask below. (defaults to 0666 minus umask) -m MASK Set umask to MASK (in octal) before creating socket. (defaults to 0, previous value is restored afterwards) -c N Do not handle more than N simultaneous connections. (default 10) -b N Allow a backlog of N connections. -B BANNER Write BANNER to the client immediately after connecting. SEE ALSO
unixclient(1), unixcat(1) http://cr.yp.to/proto/ucspi.txt AUTHOR
ucspi-unix package was written by Bruce Guenter <bruceg@em.ca> This manual page was originally written by Tomas Kuliavas <tokul@bigfoot.com> for the Debian GNU/Linux system, but may be used elsewhere under the GPL. UNIXSERVER(1)
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy