Sponsored Content
Full Discussion: creating directory in unix
Top Forums UNIX for Dummies Questions & Answers creating directory in unix Post 302569332 by rahul125 on Monday 31st of October 2011 12:55:47 AM
Old 10-31-2011
Quote:
Originally Posted by smilesavvy
It will be created in your home directory as a hidden directory. ~ represents Home Directory here.
Well if I have directory under home lets say /home/499633 and now I want to make dir(ssh) inside the directory 499633... then what would be the command please guide me and how can I view the hidden directories in unix...Thanks in advance..!!Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

creating directory error

i have create a Directory with "$@#$%" . After creating a Directory, put ls command display "#$%" . Why? (2 Replies)
Discussion started by: lakshmananindia
2 Replies

2. Shell Programming and Scripting

Creating date directory and moving files into that directory

I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
Discussion started by: ravi030
3 Replies

3. Shell Programming and Scripting

creating a directory tree

Hi all, I'd like to create a directory tree, and define from stdin how many levels deep and how many directories in each level should be created. What I wrote does not work properly:#!/bin/bash #set -x read -p " What root directory? " rootDir && { /bin/rm -R $rootDir; mkdir $rootDir; } ||... (2 Replies)
Discussion started by: NBaH
2 Replies

4. UNIX for Dummies Questions & Answers

Creating a list of files in directory?

Hi All, I would like to do a loop on all the files with extension .out in my directory this files should be sorted alphabetically. Then I need to assign to each of them a progressive ID of three digits (maybe in HEX format?). First I tried to list manually the files as ARRAY=( A-001.out ... (5 Replies)
Discussion started by: f_o_555
5 Replies

5. Shell Programming and Scripting

Creating Directory

Hi All, As I m very new for Unix, I need to check for a directory and move a file. If Directory is not found, The script should create a directory and move the file. Can any one help here. (7 Replies)
Discussion started by: vikramtk
7 Replies

6. Homework & Coursework Questions

Creating directories within a directory?

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Ok i need to create a directory within another directory in one command. I'm already in a directory to. I need to... (6 Replies)
Discussion started by: gangsta
6 Replies

7. UNIX for Dummies Questions & Answers

Need help in creating directory

Hello Experts let say we got a line a file named /user/Oracle/my_catalog/default/root/webcat+backup+testing+07192011.atr now i have to create a directory with name webcat backup testing 07192011 by removing + and removing .atr at the given path...can it be possible Please let me know... (4 Replies)
Discussion started by: aks_1902
4 Replies

8. UNIX for Dummies Questions & Answers

Error while creating directory

Hello Experts while read dirlist do mkdir "$(echo "$dirlist" |\ awk -F\| '{gsub(/(+)/," ",$NF);gsub(/\.atr$/,""); print}')" done < /user/Oracle/my_catalog/default/root/bkup/dirnames.txt where dirname.txt consist of file path details as mentioned below ... (4 Replies)
Discussion started by: aks_1902
4 Replies

9. Shell Programming and Scripting

creating directory from scripts

Dear All, I have a shell scripts which create a directory and perform moving some files, when the script is kept where it is creating directory then it runs fine , but when the scripts is run where it is supposed to be which is different location then where i am creating directory , scripts... (2 Replies)
Discussion started by: guddu_12
2 Replies

10. UNIX for Dummies Questions & Answers

creating file and it directory

hello, is there any command that i can use to create a file and also it directory (if not exist)? example: <command> /home/admin/testdir/test1.txt desc: this will create test1.txt under testdir directory. but if testdir is not exist it will be created automatically. thank you... (3 Replies)
Discussion started by: makan
3 Replies
rcvstore(1)						      General Commands Manual						       rcvstore(1)

NAME
rcvstore - incorporate new mail asynchronously SYNOPSIS
rcvstore [+folder] [-[no]create] [-help] [-sequence name] [-[no]public] [-[no]zero] OPTIONS
Creates the specified folder. If you attempt to incorporate mail into a folder that does not exist, rcvstore creates the folder if you sup- ply the -create option. If you supply the -nocreate option, the folder is not created and rcvstore exits. The default is -create. Prints a list of the valid options to this command. Sets the read permissions of sequences. Normally, when you create a sequence with the -sequence option, the sequence is not accessible to other MH users. The -public option makes the sequence accessible to other MH users. You can use the -nopublic option to ensure that the sequence that you create is only accessible to yourself. Specifies a sequence in which rcvstore places the messages which it incorporates. For more information on sequences, see mark(1). The name of the sequence must begin with a let- ter, and must consist entirely of alphabetic or numeric characters; no punctuation is allowed. Specifies whether to zero existing sequences before adding new messages. Normally, rcvstore removes all existing messages from a sequence before adding messages to it. If you specify the -nozero option, rcvstore adds the messages it finds to the existing contents of the sequence. This option only works with the -sequence option. The defaults for this command are: +folder defaults to +inbox -create -nopublic if the folder is read-only, otherwise -public -nozero DESCRIPTION
The command rcvstore incorporates a message from the standard input into an MH folder. If a +folder argument is not given the file is placed in your +inbox folder. The new message being incorporated is assigned the next highest number in the folder. If the specified (or default) folder does not exist, it is created if the -create option is specified; otherwise rcvstore exits. If your file contains a Msg-Protect: entry, it is used as the protection on the newly created messages; otherwise the MH default of 0600 is used. During all operations on messages, this initially assigned protection is preserved for each message. You can use chmod to change the protection on an individual message, and the new protection is preserved thereafter. The rcvstore command incorporates anything except zero length messages into your MH folder. If the profile entry Unseen-Sequence: is present and non-empty, then rcvstore adds the newly incorporated message to each sequence named by the profile entry. Note that rcvstore does not zero each sequence prior to adding messages. PROFILE COMPONENTS
Path: To determine your Mail directory Folder-Protect: To set protections when creating a new folder Msg-Protect: To set protections when creating a new mes- sage Unseen-Sequence: To name sequences denoting unseen messages FILES
The user profile. SEE ALSO
chmod(1), inc(1), mark(1), pick(1), mh-mail(4), mh_profile(4) rcvstore(1)
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy