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
MIDISH(1)						    BSD General Commands Manual 						 MIDISH(1)

NAME
midish -- MIDI sequencer and filter SYNOPSIS
midish [-bhv] DESCRIPTION
Midish is a MIDI sequencer/filter implemented as an interactive command-line interpreter (users wanting to use midish interactively may con- sider using the rmidish(1) utility). Here are some of its features: o Multiple MIDI devices handling o Synchronisation to external MIDI devices o Filtering/routing (controller mapping, keyboard splitting, ...) o Track recording, editing, quatisation o Import and export of standard MIDI files o Tempo and time-signature changes, user configurable metronome o System exclusive messages handling The options are as follows: -b Do not process $HOME/.midishrc or /etc/midishrc and stop on the first error on the standard input. Useful for scripting -h Print usage information. -v Print additionnal info before each line of input, useful to front-ends and for dubugging. Once midish started, the interpreter processes the $HOME/.midishrc file (or /etc/midishrc if the later dosn't exist) and starts prompting for commands. For further information about the syntax of midish refer to the ``Midish user's manual''. FILES
$HOME/.midishrc startup script /etc/midishrc startup script (if $HOME/.midishrc doesn't exist) /dev/rmidiN midi(4) devices used by midish SEE ALSO
rmidish(1), smfplay(1), midiplay(1), midi(4) User's manual and tutorial http://caoua.org/midish/ BSD
June 25, 2006 BSD
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy