10-23-2002
if the directory is having some content you don't want to keep...
rm -rf '$HOME'
10 More Discussions You Might Find Interesting
1. HP-UX
Hello all,
Most of our users have the same home directory, I know it's weird but it has been like this before me and we don't want to change that for now. When creating a new user using command useradd, it is not allowing me to create it because it is using the home directory of someone else. I... (2 Replies)
Discussion started by: qfwfq
2 Replies
2. UNIX for Dummies Questions & Answers
I am little bit confused when the words "root directory" and "home directory" and "parent directory" are used. Can anybody explains the difference.
I am trying to list the names and protections levels and size of visible files in the root directory
would it be correct if I just typed:
ls... (2 Replies)
Discussion started by: hinman
2 Replies
3. UNIX for Dummies Questions & Answers
I created a new user and assigned a certain home dir to tis user. I've noticed that this home dir (/export/home/test) is already assigned to other users. I really want to create a dedicated home dir for the new user. Can anyone tell me how I can modify this user with a new homedir?
Thx for... (4 Replies)
Discussion started by: kris_devis
4 Replies
4. Solaris
Hello,
i need to create a user who's access is restricted only to his home directory and below,
i restricted his pty access by adding 'no-pty' to the options of the ssh key in authorized_keys file. However, sftp access still allows this user access to all my file system
thanks (5 Replies)
Discussion started by: lidram
5 Replies
5. Shell Programming and Scripting
Hi,
I want suggestion about user home directories, checking. how i could calculate this. I have 200 Users.
if home-dir-of-user1 > 250 MB -> print "OK"
fi
if home-dir-of-user1 > 500 MB > Print "Warning"
fi
if home-dir-of-user1 > 1000 MB > Print "Critical"
fi
Thanks,
Bash (4 Replies)
Discussion started by: learnbash
4 Replies
6. Solaris
Hi all,
I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
8. Shell Programming and Scripting
I want to print all list of file in the home dir of the user in $i with full bath an owner and group and permissions (1 Reply)
Discussion started by: testman84
1 Replies
9. Shell Programming and Scripting
It is required to rename the home dir of some users specifed in the file ids.csv. But the code is not working as expected.
ids.csv have content in the format
id1,name,id2
It displays the expected message , still it is unable to rename the dirs
Find the code below:
#!/bin/ksh... (3 Replies)
Discussion started by: hiten.r.chauhan
3 Replies
10. Solaris
HI all,
I have wrongly given a wrong home directory to a user. This dir is very critical for my production environment(Can;t afford to lose it for a single minute)
Now i want to delete that user,
Whenever i try to delete user it tries to delete its home dir.
Commnd i use:
userdel
... (9 Replies)
Discussion started by: varunksharma87
9 Replies
XFM(5) XFM XFM(5)
NAME
xfm - file format for application window contents of xfm
DESCRIPTION
Xfm - the X file and application manager - has its own format to save the content of the application window, which is described in this
file.
FORMAT
One entry per line. Lines starting with a hash (#) and empty lines are ignored. Each line consists out of six fields, separated by colons
(:). Backslashes and colons within those fields have to be escaped using backslashes.
FIELDS
Label
The label printed below the icon in the application window is the first part.
Directory
Directory The second part is the directory the specified action is executed in. An empty string is treated as the $HOME-directory, which
is also substituted for a leading tilde followed by a slash (~/).
If this line has the special drop_action LOAD, this is not the directory, but the next xfm file to display.
empty compatibility field
This field is only here for compatibility reasons. It has to be empty.
icon
The 4th field is the icon to show. Unless this field is empty, xfm will search in the pixmapPath and the bitmapPath for this file and use
it as icon for this item. The icon has to be in XBM or in the XPM format.
push action
This field (the 5th) contains the action to execute when the specified field is double-clicked or otherwise activated. Unless it is one of
the special commands listed below, it is given as a whole to the shell. Any parts encapsulated in percent signs (%) are substituted with
user input. Default values can be specified with two hyphens (--) within the token.
The special commands are:
LOAD The directory field is interpreted as filename of a xfm file which replaces the current contents of the application window. If the
directory is the special value XFM-DEVICES, the content of the application window are generated out of the information of the
xfm_dev(5) file instead.
OPEN The directory specified in the directory field is opened in a new file window.
EDIT filename
Start the default editor with the specified filename.
drop action
This field (the 6th) contains the action to execute if some files are dragged from the file window and dropped into this item. The command
is given to a shell, and the files are given as arguments.
EXAMPLES
Start a xterm with $HOME-directory as current directory. The icon is xterm.xpm. Nothing can be dragged here.
Xterm:::xterm.xpm:exec term:
Open the special menu for showing mountable devices:
Devices:XFM-DEVICES:::LOAD:
Open a file window with the home directory:
Home::::OPEN:
Open /floppy in a new file window:
Diskettenlaufwerk:/floppy::dev_floppy.xpm:OPEN:
Execute an xterm with a user specified command:
execute::::xterm -e %command--watch date%:
Grab a screenshot when pushed, show drag&dropped images with xli:
picture::::import `date +\%Y\%m\%d\%M\%H\%S.png`:xli "$@"
Process dropped files with transfig:
transfig:::app.xpm::transfig -L %Language:--eepic% "$@"
FILES
$HOME/.xfm/Apps
Unless otherwise specified in the X resources, this is the file opened when Xfm starts.
/etc/X11/xfm/Apps
Unless otherwise specified in the X resources, this file is opened when the previous one fails.
SEE ALSO
xfm(1), xfm_dev(5), xfmtype(1), xbm(5), xpm(5).
xfm 20 April, 2006 XFM(5)