Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unix - Navigating the file system Post 91204 by Just Ice on Wednesday 30th of November 2005 12:33:25 PM
Old 11-30-2005
you could add the cd line that vino suggested as the last line in your default shell's initialization file (sh/ksh uses .profile, csh uses .login, bash uses .bashrc, etc.) but that might affect how you go about with your work after the initial login ...

i think your best bet is to create either a symlink to the target directory like rhfromm said or create an alias for the cd (i.e., alias mydir="cd /target/dir") in your environment file whichever one it is that your default shell uses ...
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I send a file as an attachment (gzip file) on a Unix system

Hi, How do I send a file as an attachment (gzip file) on a Unix system ? Using sendmail. Please help me. :confused: (3 Replies)
Discussion started by: lacca
3 Replies

2. Shell Programming and Scripting

Unix File System

Dear All, I want try to using unix,till now i just download 2 Iso file from 5 iso file of Sun Solaris 10. But know I just using unix sun solaris 6.5 that using in my company and I have root password. But some time I'm worry to using root password cos I don't have good basic knowladge about Unix... (1 Reply)
Discussion started by: heru_90
1 Replies

3. Programming

compare XML/flat file with UNIX file system structure

Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies

4. UNIX for Advanced & Expert Users

UNIX FILE SYSTEM

Dear All, We are using COMPAQ DS -10 machines with UNIX 4.0F System is behaving abnormal some directories shows full and they should not be . here is df -k output of a machines file system----1024 block-----used--available--capacity--mounted on /dev/rz17h-----8680793----- 1 --- ... (1 Reply)
Discussion started by: akash.jahangir
1 Replies

5. Shell Programming and Scripting

PERL navigating directories. How do I do it

I am trying to write a Perl script that lists all the .pm files within c:\perl on a WinXP system. I have Strawberry Perl installed. I know that I can perform the action I want with shell script commands but I just want to perform it with Perl. I have written a Perl script that opens the pwd and... (0 Replies)
Discussion started by: ShermW0829
0 Replies

6. Shell Programming and Scripting

Navigating a WebPage with Perl

Hi All Below is Code, It opens a link from which it ask a login name and password, the script enter the login name and password and navigate to next page.. In the next page there is a drop down box from which i have to select a value, I have written the code but it gives error #!/usr/bin/perl... (3 Replies)
Discussion started by: parthmittal2007
3 Replies

7. UNIX for Dummies Questions & Answers

Navigating directories with * / . and ..

I would be very happy (after a lot of fruitless searching) if someone could explain the meaning of these variations on the ls command: ls */ ls */. ls */./ I understand the basic use of ls already eg ls -al but am wanting to list from different points in the file structure without having to... (4 Replies)
Discussion started by: bloodrule
4 Replies

8. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
socklog-conf(8) 					      System Manager's Manual						   socklog-conf(8)

NAME
socklog-conf - sets up a socklog(8) service. SYNOPSIS
socklog-conf unix|inet|klog|ucspi-tcp acct logacct socklog-conf notify acct grp DESCRIPTION
socklog-conf creates /etc/sv if necessary and a subdirectory that runs the unix, inet, ucspi-tcp or notify service (see below for each ser- vice). Except for the notify service, socklog-conf also creates a log directory with subdirectories. acct, logacct and grp must not contain any special characters. UNIX SERVICE
socklog-conf unix acct logacct Running socklog-conf with the 1st argument unix, socklog-conf creates the service directory /etc/sv/socklog-unix and the log directory /var/log/socklog. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on /dev/log. It also creates automatically rotated log directories in /var/log/socklog. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-unix INET SERVICE
socklog-conf inet acct logacct Running socklog-conf with the 1st argument inet, socklog-conf creates the service directory /etc/sv/socklog-inet and the log directory /var/log/socklog-inet. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on the UDP socket 0.0.0.0:514. It also creates automatically rotated log directories in /var/log/socklog-inet. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-inet KLOG SERVICE
socklog-conf klog acct logacct Running socklog-conf with the 1st argument klog, socklog-conf creates the service directory /etc/sv/socklog-klog and the log directory /var/log/socklog-klog. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to read kernel messages from /proc/kmsg on Linux, or /dev/socklog-klog on BSD. It also creates automatically rotated log directories in /var/log/socklog-klog. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-klog UCSPI-TCP SERVICE socklog-conf ucspi-tcp acct logacct Running socklog-conf with the 1st argument ucspi-tcp, socklog-conf creates the service directory /etc/sv/socklog-ucspi-tcp and the log directory /var/log/socklog-ucspi-tcp. socklog-conf arranges for tcpsvd(1) to run socklog(8) under the uid and gid of acct and to listen on the TCP socket 0.0.0.0:10116. It also creates automatically rotated log directories in /var/log/socklog-ucspi-tcp. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-ucspi-tcp NOTIFY SERVICE
socklog-conf notify acct grp Running socklog-conf with the 1st argument notify, socklog-conf creates the service directory /etc/sv/socklog-notify. socklog-conf arranges for uncat(1) to run under the uid and gid of acct and to listen on the named pipe /var/log/socklog/.notify. The named pipe will have mode 0620, the uid of acct and the gid of grp. All uids running a log service that is configured to push log events to the socklog-notify service must be member of the group grp. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-notify SEE ALSO
socklog(8), svlogd(8), nc(1), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), sv(8), runsv(8), runsvdir(8) http://smarden.org/socklog/ http://smarden.org/runit/ AUTHOR
Gerrit Pape <pape@smarden.org> socklog-conf(8)
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy