Sponsored Content
Top Forums Shell Programming and Scripting get home-directory in shell-scripts Post 75389 by Perderabo on Friday 17th of June 2005 01:39:33 PM
Old 06-17-2005
It should be in $HOME
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cd into home directory ~

I'm trying to cd into a home directory with cd ~username_here and I'm getting the following error: ~username_here: does not exist The directory exists and I can directly go to it via cd /export/home/username_here without any problems. Any suggestions? (4 Replies)
Discussion started by: here2learn
4 Replies

2. Solaris

Accessing the home directory in shell script

How can I access home directory in a shell script. I am writing a script which will delete the log files in each of the user's directory Krishan (1 Reply)
Discussion started by: krishan
1 Replies

3. UNIX for Dummies Questions & Answers

home directory

Hi what is the difference between the directory named /home and the user's home directory? can anyone plz reply? really confuse about it!!!!!!!! thank you (1 Reply)
Discussion started by: nokia3100
1 Replies

4. UNIX for Dummies Questions & Answers

Running scripts from home

I have created a Bourne shell script that helps with metric counting and it has to be run in a ClearCase view. It has been placed in a directory where if User A cd'd to it and runs it, a bunch of errors occur. Because this is a tool that several users would want access to and the program assumes... (2 Replies)
Discussion started by: mastachef
2 Replies

5. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

6. Shell Programming and Scripting

Help for shell scripts for moving all files from one directory to another

Hi , Can you please check this code .I am getting the follwing error while executing the script. Please help me out. #rm /tmp/$$ #!/bin/ksh dir_one="/usr/bin/sou" dir_two="usr/bin/sou/temp" for files in $dir_one/*.txt do ... (31 Replies)
Discussion started by: soumyamishra
31 Replies

7. Shell Programming and Scripting

Shell script to run all the python scripts from particular directory

I have N number of python scripts which i am receiving from REST web server and i am saving them in /home/mandar/ . Now i want to write a script to run all the python scripts from this directory and monitor them every minute...if any process is dead or hung it should be restarted by this script. ... (0 Replies)
Discussion started by: Mandar Nandale
0 Replies

8. Shell Programming and Scripting

Shell script to find weblogic home directory

Hi, I am trying to find the weblogic home directory whether it is installed in the Linux box. if it is existing display the weblogic home and the corresponding Java home directory else display message as that wl home does not exist. I already wrote a program but it was not working properly.... (11 Replies)
Discussion started by: spgreddy
11 Replies

9. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
WEECHAT(1)						      General Commands Manual							WEECHAT(1)

NAME
weechat-curses - Wee Enhanced Environment for Chat (Curses version) SYNOPSIS
weechat-curses [option...] [plugin:option...] DESCRIPTION
Fast, light and extensible chat client for many operating systems. Everything can be done with a keyboard. It is customizable and extensible with scripts. It is compliant with IRC RFCs 1459, 2810, 2811, 2812, and 2813. OPTIONS
-a, --no-connect disable auto-connect to servers at startup -c, --colors display default colors in terminal -d, --dir <dir> set WeeChat home dir -h, --help display summary of options -k, --keys display default keys -l, --license display program license -p, --no-plugin don't load any plugin at startup -s, --no-script don't load any script at startup -v, --version display WeeChat version PLUGIN OPTIONS
Options for plugins depend on plugins, you can look at plugins documentation on WeeChat website for more information. For example, with irc plugin, you can connect to temporary server with an url like: irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]] To join WeeChat IRC channel support with nick "mynick": irc://mynick@irc.freenode.net/#weechat IPv6 address can be enclosed in brackets to add a port after address, for example: irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test FILES
$HOME/.weechat/weechat.conf main WeeChat configuration file $HOME/.weechat/plugins.conf plugins configuration file $HOME/.weechat/alias.conf configuration file for alias plugin $HOME/.weechat/aspell.conf configuration file for aspell plugin $HOME/.weechat/charset.conf configuration file for charset plugin $HOME/.weechat/irc.conf configuration file for IRC plugin $HOME/.weechat/logger.conf configuration file for logger plugin $HOME/.weechat/relay.conf configuration file for relay plugin $HOME/.weechat/rmodifier.conf configuration file for rmodifier plugin $HOME/.weechat/xfer.conf configuration file for xfer plugin $HOME/.weechat/weechat.log WeeChat log file LICENSE
Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org> WeeChat is distributed under the GNU General Public License, version 3. Please read the COPYING file for more information. BUGS
Please report bugs or feature requests at Savannah website: - Bugs: http://savannah.nongnu.org/bugs/?group=weechat - Feature requests: http://savannah.nongnu.org/task/?group=weechat AUTHOR
WeeChat is written by Sebastien Helleu <flashcode@flashtux.org> Web: http://www.weechat.org/ Sebastien Helleu June 2012 WEECHAT(1)
All times are GMT -4. The time now is 09:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy