Sponsored Content
Full Discussion: File association
Top Forums UNIX for Dummies Questions & Answers File association Post 302882750 by vbe on Thursday 9th of January 2014 04:39:27 AM
Old 01-09-2014
not sure what you want... but if you connect to your box using a full CDE session, then you have in your home directory a hidden directory where your session is saved: ~HOME/.dt
e.g.
Code:
ran1:/home/vbe/.dt $ ll
total 14
drwx------   2 vbe        bin             96 Jun 11  2012 Desktop
drwxrwxrwx   2 vbe        bin             96 Dec  9 18:06 Trash
drwxr-xr-x   2 vbe        bin             96 Oct 19  2012 appmanager
-rw-r--r--   1 vbe        bin            108 Dec 20 18:14 errorlog
-rw-r--r--   1 vbe        bin            281 Dec  9 18:03 errorlog.old
-rw-r--r--   1 vbe        bin            281 Dec  9 18:02 errorlog.older
drwxr-xr-x   2 vbe        bin             96 Jun 11  2012 help
drwxr-xr-x   2 vbe        bin             96 Oct 19  2012 icons
drwxrwxrwx   2 vbe        bin             96 Jun 11  2012 palettes
drwxr-xr-x   2 vbe        bin             96 Dec  9 18:06 sessionlogs
drwxr-xr-x   6 vbe        bin           1024 Nov 14  2012 sessions
-rw-rw-r--   1 vbe        bin            943 Dec 20 18:14 startlog
-rw-rw-r--   1 vbe        bin            946 Oct  1 18:53 startlog.old
-rw-rw-r--   1 vbe        bin            946 Jun 19  2013 startlog.older
drwxr-xr-x   2 vbe        bin             96 Sep 17  2008 tmp
drwxr-xr-x   3 vbe        bin             96 Jun 11  2012 types

 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File Extension association in CDE

Hi, Any idea how to define the file extension association within CDE. I need to tell dtfile (the file manager) to open *.log files as text documents and not emails... Thanks! (2 Replies)
Discussion started by: me2unix
2 Replies

2. UNIX for Dummies Questions & Answers

Association b/w sockets & processes

Hi, Is there any way i can know the association between sockets and the processes which created them. :confused: (5 Replies)
Discussion started by: soorajmu
5 Replies

3. Shell Programming and Scripting

how to use the filehandle stored in a variable without knowing its file association

how to use the filehandle stored in a variable without knowing its file association i.e. the filename code my $logFH = $connObj->get('logFH'); infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO')); infoPrint("$logFH\n"); output == INFO :: Variable is of type... (0 Replies)
Discussion started by: rrd1986
0 Replies

4. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

5. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

6. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
getusershell(3C)					   Standard C Library Functions 					  getusershell(3C)

NAME
getusershell, setusershell, endusershell - get legal user shells SYNOPSIS
#include <unistd.h> char *getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If /etc/shells does not exist, the following locations of the standard system shells are used in its place: /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/pfsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/xpg4/bin/sh The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells. The setusershell() function rewinds the file or the list. The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells. RETURN VALUES
The getusershell() function returns a null pointer on EOF. BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved. SunOS 5.10 30 Aug 2004 getusershell(3C)
All times are GMT -4. The time now is 06:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy