Find the answer to your Linux question:
Results 1 to 3 of 3
Hope i can get some help here. I want to remove a line from my txt file. How do I do that. I know wirting a line by using fwrite() ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Posts
    27

    Remove a line from a file


    Hope i can get some help here.
    I want to remove a line from my txt file. How do I do that. I know wirting a line by using fwrite() or fputs() but i have no idea with removing.
    I want to be able to remove an entry from my crontab.

  2. #2
    Just Joined!
    Join Date
    Sep 2003
    Location
    right here
    Posts
    20
    you may want to check this post

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Posts
    27
    Thanks that solved it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •