|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Deleting a file
Hi
I need a tip to delete the file. # uname -a SunOS yakdev2 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240 This is the file to be deleted. -rw-r--r-- 1 testuser sysadmin 758 Apr 19 15:06 Shortcut to top-3.6alpha10pre.tar.gz.lnk # rm Shortcut to top-3.6alpha10pre.tar.gz.lnk Shortcut: No such file or directory to: No such file or directory top-3.6alpha10pre.tar.gz.lnk: No such file or directory Thanks in advance |
|
#2
|
||||
|
||||
|
You've got a couple different options.
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) |
|
#3
|
|||
|
|||
|
Hi codergeek42
Great. It worked like this. bash-3.00$ rm "Shortcut to top-3.6alpha10pre.tar.gz.lnk" Thanks for the help. |
|
#4
|
|||
|
|||
|
Quote:
Just to add...you can also delete using i-node (ls -i) to get I node then "find . -i# -exec rm|mv|whatever {};" |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Deleting a file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|