07-27-2008
Viewing Directory Content as You Navigate Directories in UNIX
Hi,
Can someone help me figure out how to view directory content while I navigate directories (without having to go to the actual directory and "ls-ing" it)? Is there some keyboard shortcut for this? For instance, it would be useful if I could see the content of a directory when I'm copying from it.
Currently, I have to go to the directory itself, ls the directory to find the contents, and then copy stuff out of there. Please let me know if you don't know what I mean. I'm currently using the bash version of UNIX.
Example of what I want to do:
(1) Type: cp ../../<some shortcut key>
(2) Console shows me the directory contents without losing my "cp ../../" command
Thanks in advance!
Amol
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
How do I navigate to the level ABOVE the home directory?
I have the following structure on my drive, bearing in my I'm using a cygwin port on Windows.
C:\
C:\cygwin
C:\cygwin\bin
C:\cygwin\otherfolders
C:\cygwin\home (the home directory)
C:\cygwin\home\H (my user directory)
... (4 Replies)
Discussion started by: patwa
4 Replies
2. Shell Programming and Scripting
I am trying to install some applications, on my linux OS and all the instructions are tell me that ill have to navigate to the directories and type the link that they provide, but i try typing 'dir' which shows me the directories but to access a particular one i can't remember how??? can anyone... (2 Replies)
Discussion started by: kprescod4158
2 Replies
3. Shell Programming and Scripting
Hi,
I have a requiremnet where i need to apply logic on directories and sub-direcotories.
Example:
base="/a/b/c"
base1="/a/b/c/d/e"
subfolders in both base and base1 are same : es, ig, os
var1=es
var2=ig
var3=os
Now i have used the follwoing lines in my code and these are... (3 Replies)
Discussion started by: sussane
3 Replies
4. Shell Programming and Scripting
Hi
I am Trying to Write a script that can goto 4 different directorys on the server & remove the Files older then 30 days ??
/logs
logs1 logs2 logs3
Now I need to remove files under
logs1 logs2 logs3 which are older then 30 days whose name stat 'sit' , 'mig','bld' .
in... (3 Replies)
Discussion started by: Beginner123
3 Replies
5. AIX
i have a user 'bart' which does not belong to apps group (as shown below) and i want him to be able to navigate to TEST directory.. i gave him read access but he cannot get through. when i added execute permission he was able to navigate to TEST
drwxr-xr-- 3 draco apps 4096 Apr... (2 Replies)
Discussion started by: chipahoys
2 Replies
6. Tips and Tutorials
Hi,
I have a directory, and there is a job running and constantly writes and removes files from and to this directory.
I would like to see somehow these changes without pressing `ls` every second. Kind of `tail -f` command, but for a directory list and not for file content.
I thought maybe kind... (5 Replies)
Discussion started by: ilya_dv
5 Replies
7. Red Hat
If you are like me, typing CD command again and again would quickly get tiresome and wonder there must be a better way to do it.
I have done some searching on Google and this forum. The results I get (using alias, CDPATH or PUSHD) do not satisfy me completely, so I decide to do it my way.... (10 Replies)
Discussion started by: IKE0000
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Currently i'm logging as a user say atgdev. When I login it takes me to directory /.
I see the home directory set as /home/atgdev/
I want that when i log in it shud directly go to my home directory i.e /home/atgdev/.
I thought .profile in /home/atgdev/ will be invoked first when i log... (9 Replies)
Discussion started by: Gangadhar Reddy
9 Replies
9. How to Post in the The UNIX and Linux Forums
Hi ,
i am a new user to this forum can anyone please help me in navigation for this forum.
also when i am trying to open any thread i am getting below error.
Bad Request
Your browser sent a request that this server could not understand.]
Thanks. (1 Reply)
Discussion started by: nkchand
1 Replies
XHFS(1) General Commands Manual XHFS(1)
NAME
xhfs - graphical interface for manipulating HFS volumes
SYNOPSIS
xhfs [left-path [right-path]]
DESCRIPTION
xhfs presents a graphical front-end for browsing and copying files on HFS-formatted volumes.
The display is divided into two parts, left and right, which can each independently view a directory on either an HFS volume or the host
(UNIX) filesystem. Double-clicking the name of a directory in either view will open that directory. A pop-up menu at the top of each direc-
tory view can be used to navigate to any directory between the current and the beginning of the hierarchy.
Text files can be viewed by double-clicking them. Any file or set of files can be copied to the directory shown in the other view by
selecting them and clicking the "Copy" button. Copying is performed according to the selected copy mode:
MacBinary II
The file(s) will be copied using the MacBinary II format. This is the recommended mode for transferring arbitrary Macintosh files.
BinHex The file(s) will be copied using the BinHex format. This mode should be used to encode Macintosh files into strict ASCII format.
Text In this mode, only the data fork(s) of the selected file(s) are copied. Furthermore, translation is performed on the data's end-of-
line characters to conform to the standard for text files on the destination.
Raw Data
In this mode, only the data fork(s) of the selected file(s) are copied. However, no translation is performed whatsoever on the
data.
Automatic
A copy mode will be selected automatically according to a set of heuristics.
SEE ALSO
hfsutils(1), hfs(1)
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS
02-Apr-1996 XHFS(1)