Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 02-27-2012, 02:09 AM   #1
LQ Newbie
Registered: Feb 2012
Posts: 8

Rep: Reputation: Disabled
Question How to replace dd with a custom command named copyconv?

i have a questions... how can i change the "dd" command utility to my new invent utility named
"copyconv" ?? how can i do these??
Old 02-27-2012, 06:37 AM   #2
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
This thread, about cursor not moving, is not the correct place for this question. It should have its own nice new and shiny thread, to avoid causing confusion in the existing thread, and to enable it to get the attention that it deserves. (And a good title, of course, which means a relevant title. Something like "Making my own command, copyconv" perhaps?

Anyway, the easiest way to do that is to include the script (it is a script, eg a Bash script, isn't it?) in a directory that is in your path. Usally, that would be a directory such as /home/your_username/bin, but the exact path doesn't matter so much, provided that
  • it is in the path for the user(s) who will use it
  • the user(s) who will use it have execute privileges

It may be the case that you really want an answer to the question "How do I make dd do something that it doesn't currently do by default (or, do, by default, something different)?" It is probably easiest if you give some clue about what this other thing might be, but in any case a look at the man page for dd could be helpful, if you haven't done that already.
Old 02-27-2012, 08:22 AM   #3
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. Please, follow discussion here:

Closed Thread

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
how can i change command "dd" to copyconv katherineskye1 Linux - Newbie 11 03-01-2012 09:13 AM
(bind) named: couldn't open pid file '/var/run/named/' - any help? samengr Linux - Server 6 04-01-2009 07:22 AM
chown -R named:named /var/named crash the system? joangopan Fedora 2 09-09-2007 03:46 AM
Write command in named pipes sahel Programming 7 12-28-2005 07:05 AM
problem in perl replace command with slash (/) in search/replace string ramesh_ps1 Red Hat 4 09-10-2003 02:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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