LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2012, 10:01 AM   #1
ddw
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
IBM sftp from Linux: Need Linux commands to search/view/rename/delete files


Never used Linux. Need to search/view/rename/delete and pull file(s) from Linux to IBM. Some IBM commands do not work in Linux. Need Linux commands.
 
Old 09-17-2012, 10:36 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,144

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
what is ibm (aix ?) i would look into ssh , scp , sftp , ...
sshfs will probably work great in this situation.
 
Old 09-17-2012, 10:40 AM   #3
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 267

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by ddw View Post
Never used Linux. Need to search/view/rename/delete and pull file(s) from Linux to IBM. Some IBM commands do not work in Linux. Need Linux commands.
Search
Code:
eg:find <place_to_search> -name <filename>  
This will find everything on the root "/" that has the name "lilo" in it.

find / -name lilo
View
Code:
 There are several options here, vi, nano, cat, grep 
 Let's use the more basic command cat
cat <filename>
Move/Rename
Code:
 These commands are the same
mv <oldfilename> <newfilename>
Delete
Code:
rm <file>
I am not sure what you mean by pull, also please read the manpages on these commands as they offer more information then I can give you on them.

Last edited by /dev/random; 09-17-2012 at 11:41 AM.
 
1 members found this post helpful.
Old 09-17-2012, 11:13 AM   #4
ddw
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, just what I need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Script to Delete and/or Rename Files marspl Programming 5 04-18-2010 09:16 AM
[SOLVED] delete selected files from sftp dina3e Linux - Newbie 4 04-07-2010 02:43 AM
Cannot rename or delete files Josho Linux - Newbie 3 04-07-2009 02:47 PM
How to search and delete files in Unix/Linux puzz_1 Linux - General 5 04-09-2004 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration