11-07-2008
Folder changed as a fiel in linux
I created a folder in Suse Linux 10, it was a folder and a kept souce code in that, now it was changed as a file, I can't opent that directory, its opening as a file, How can I change it to directory, please help in this regard.
Thanks & Regards
Durgaprasad
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Does Linux/Solaris has any limit on folder size or number of files per folder?
Thanks
Bache Gowda (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. SuSE
The group of the /root folder has been changed and then logged out
I am not able to log in to the /root user as it is saying Xsession log in not allowed
Is there any way that the group of the /root folder be changed? (1 Reply)
Discussion started by: napster_san
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I want to create a file which will have a name like myfile ending with date and time.
I did :
touch myfile%date
or
touch myfile%date%
But does not work. How to do that ?
Many thanks before. (9 Replies)
Discussion started by: big123456
9 Replies
4. UNIX and Linux Applications
I am trying to copy a folder and all its contents from HP Unix box to RH linux, using the following.
rsync -avz -e "ssh" /users/www/webroot/docFiles/Division/Ctry ftpuser@10.4.xxx.yz:/data/webroot/development/contentfiles/webroot/docFiles/Division/Ctry/QAfiles
And it throws a consistent... (2 Replies)
Discussion started by: FanTom
2 Replies
5. Shell Programming and Scripting
Basically to illuminate i want to take a file with mutliple lines,
C:\searching4theseletters.txt
a
b
c
Read this into an array
@ARRAY
and then use this to compare against another file
C:\inputletters.txt
b
o
a
c
n
a (9 Replies)
Discussion started by: bradleykins
9 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am using red hat linux, In my folder a strange folder is created i.e. " -a " , folder name is preceded with hyphen. Now if i try to remove with rm -rf -1 , i am unable to do it.
Can anyone please let me know how to do it, & what this kind of folder means
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
7. Ubuntu
Hi ,
I have folder which has almost 35000 objects, I need to find out or list the objects which are symbolic links. I tried f. I am not getting right
Can you pls help
Regards
amv (5 Replies)
Discussion started by: amvarma77
5 Replies
8. Linux
Dear Experts,
My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server.
My operating system version details given below.
$ uname -a
Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT... (10 Replies)
Discussion started by: Mohammed Fareed
10 Replies
9. Shell Programming and Scripting
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies
10. HP-UX
Hi all,
I have 3 servers, rx2600, rx2600, and rx2660.
I have another x86 server running on Suse, and create a shared folder named /public
From 1 of the rx2600 server I can mount that shared folder :
intaqa:/>mount 10.1.2.82:/public /bkup
intaqa:/>cd /bkup
But from 2 others server I... (29 Replies)
Discussion started by: rexmale
29 Replies
RMF(1) [nmh-1.5] RMF(1)
NAME
rmf - remove an nmh folder
SYNOPSIS
rmf [+folder] [-interactive | -nointeractive] [-version] [-help]
DESCRIPTION
Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself.
If there are any files within the folder which are not a part of nmh, they will not be removed, and an error will be produced. If the
folder is given explicitly or the -nointeractive option is given, then the folder will be removed without confirmation. Otherwise, the
user will be asked for confirmation. If rmf can't find the current folder, for some reason, the folder to be removed defaults to `+inbox'
(unless overridden by user's profile entry "Inbox") with confirmation.
If the folder being removed is a subfolder, the parent folder will become the new current folder, and rmf will produce a message telling
the user this has happened. This provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list
and returning to the current folder from which the list was extracted.
If rmf s used on a read-only folder, it will delete all the (private) sequences (i.e., "atr-seq-folder" entries) for this folder from your
context without affecting the folder itself.
Rmf irreversibly deletes messages that don't have other links, so use it with caution.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Inbox: To find the default inbox
SEE ALSO
rmm(1)
DEFAULTS
`+folder' defaults to the current folder, usually with confirmation
`-interactive' if +folder' not given, `-nointeractive' otherwise
CONTEXT
Rmf will set the current folder to the parent folder if a subfolder is removed; or if the current folder is removed, it will make "inbox"
current. Otherwise, it doesn't change the current folder or message.
BUGS
Although intuitively one would suspect that rmf works recursively, it does not. Hence if you have a sub-folder within a folder, in order
to rmf the parent, you must first rmf each of the children.
MH.6.8 11 June 2012 RMF(1)