01-11-2009
Del - trash - restore CSH commands!!
Anyone who could help me with those three commands, i'm really new in cshell script so please be understandable..
Need to demostrate those three commands
del
trash (incl -ai) i that you will be asked to confirmed that they can be deleted
a to move all those files from dustbin
and to restore the files that have ben deleted and trash ... used (-n) should restore the file to the original directory.
1. start a shell to creat a file
2. delete that file
3. creat another file
4. trash that file
5. restore deleted and trash files
Hope anyone can help me with those three commands
9 More Discussions You Might Find Interesting
1. Linux
Hello
i am trying to empty the trash using rm or rmdir command . Any idea how to delete the folders and subfolders using one of the above commands?
Thank You (2 Replies)
Discussion started by: exhumation
2 Replies
2. UNIX for Dummies Questions & Answers
hello,
as in bash we have history of commands what is the shortcut for seeing recently used command in csh shell.
thanks in advance.
regards,
rishi
found the reply in man! Thanks
it is !! to repeat last command (1 Reply)
Discussion started by: RishiPahuja
1 Replies
3. Linux
Hi all i hope someone can help me,
in gnome if you right click on trash, you get another menu appear 'Empty Trash'
what i want to do is be able to edit this command so that it secure deletes the trash, where is that command? so i can edit it. thanks in advance for any help,
Dave
(shred -z -u ) (0 Replies)
Discussion started by: dave123
0 Replies
4. Shell Programming and Scripting
I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them)
Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I deleted a file accidentally using rm-f inside a folder. Is there any option/command to retrive the file or is it possible to recover from trash? or once the file is deleted, it is gone completely?? (2 Replies)
Discussion started by: sydney2008
2 Replies
6. AIX
Hi all,
I am still working on my mksysb restore.
My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored.
0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any
available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
A set of Linux shell scripts is required to allow users to ‘remove' files without them really disappearing... (1 Reply)
Discussion started by: mr100perecent
1 Replies
8. Solaris
one quick question please.. is Solaris have a RECYLE BIN,or TRASH to retrive deleted files accidently ? (0 Replies)
Discussion started by: Sojourner
0 Replies
9. Shell Programming and Scripting
Hey everyone,
I am working in an environment where the different users can use ksh or csh. My situation is that I need the same result with one single command line.
I am searching for the real path the file is in.
My ksh input and output
ts2:ts2adm> cd $(dirname $(which sapcontrol)); pwd -P... (2 Replies)
Discussion started by: h1kelds
2 Replies
LEARN ABOUT SUNOS
nautilus
nautilus(1) User Commands nautilus(1)
NAME
nautilus - the GNOME File Manager
SYNOPSIS
nautilus [--check] [--geometry=geometry] [--no-default-window] [--no-desktop] [--quit] [location] [gnome-std-options]
DESCRIPTION
The GNOME File Manager is the primary graphical interface to the file system. It provides access to, and manipulation of, files and folders
on both local and remote filesystems by giving a virtual view of them. The File Manager supports multiple view types to allow you to view
files and folders as an arrangement of icons, as a detailed list, or as a number of data-specific views which allow embedded viewing of
text, images and other multi-media.
Nautilus provides the desktop backdrop and its associated icons for launching applications, access to folders, the trash and removeable
media (such as CD-ROMs and zip disks). The trash container is a special view of objects that have been removed from their original loca-
tions but not yet permanently deleted from the system. Emptying the trash will delete these objects permanently.
The side pane of the main window provides additional information about the folder in the current view as well as allowing the user to add
any arbitrary notes; for example, to describe the folder or its contents. A tree view of the filesystem is also available on the side bar,
which can be used to switch between the location of the main view and a history view to show the recently viewed locations.
OPTIONS
The following options are supported:
---check Perform a quick set of self-check tests.
---geometry=geomCreate inital window with given geometry, where geometry is in the following format: widthxheight.
---no-default-wiOnly create windows for explicitly specified locations.
---no-desktop Do not manage the desktop backdrop.
---quit Quit a currently running Nautilus application.
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
OPERANDS
The following operands are supported:
location The location to be viewed. This location may be specified as a filesystem directory (for example, /home/guest/Documents),
or by using any of the URI schemes supported by Nautilus (for example, http://www.sun.com or ftp://ftp.gnome.org).
EXAMPLES
Example 1: Launching Nautilus to view a specific location
example% nautilus /home/guest/Images
Example 2: Opening a Nautilus window with a specified width and height and without managing the desktop background
example% nautilus --geometry=450x300 --no-desktop
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/nautilus The command-line executable for the GNOME file manager.
~/.nautilus/* The location of user-specific meta-data, including notes, emblems, and background patterns.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-file-mgr |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
libgnomevfs-2(3), gnome-std-options(5)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Stephen Browne, Sun Microsystems Inc., 2003.
SunOS 5.10 2 Oct 2003 nautilus(1)