Results 1 to 7 of 7

Thread: Files not showing after using 'cat' command?

  1. #1
    Join Date
    Jul 2011
    Beans
    9

    Files not showing after using 'cat' command?

    For some reason, whenever I use the 'cat' command in terminal to combine two files together, let's say file1.text and file2.txt to make file3.txt, it won't show up in the file manager...but if I compress the folder file3.txt is in, THEN it will show up. I checked "show hidden files" but it still won't show up and I have no idea why.

    I'm using Ubuntu 13.04 64-bit

    EDIT: If I use the 'ls' command to list the files in the directory, file3.txt DOES show up, but it does not show up in the file manager for whatever reason

  2. #2
    Join Date
    Feb 2008
    Location
    Pelican Bay Correctional
    Beans
    Hidden!

    Re: Files not showing after using 'cat' command?

    Quote Originally Posted by PloXyZeRO View Post
    For some reason, whenever I use the 'cat' command in terminal to combine two files together, let's say file1.text and file2.txt to make file3.txt, it won't show up in the file manager...
    The exact command please may shed light on the issue, so do post it.
    I have 3 brain cells left, and two of them have restraining orders.
    Linux is just "DOS on 'steroids"

  3. #3
    Join Date
    Jul 2011
    Beans
    9

    Re: Files not showing after using 'cat' command?

    First I opened terminal, then typed in
    Code:
    cd /home/andrew/Desktop/files
    I hit enter, then typed this in
    Code:
    cat file1.txt file2.txt > file3.txt
    The strange thing is it actually worked, but I could not view the file at all. It also only happened in that particular folder for some reason. I created a new folder right now and tried it again, and it worked just fine. I'm trying to see if I can recreate the issue to see what happened!

  4. #4
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,076

    Re: Files not showing after using 'cat' command?

    Howdy,

    Some file managers do not refresh their lists automatically. This is a very retro kind of bug that showed up again in the last couple years.

    Either do a manual refresh or install a better file manager.

  5. #5
    Join Date
    Jul 2011
    Beans
    9

    Re: Files not showing after using 'cat' command?

    How do I manual refresh? Also, what other file manager would you recommend? The problem occurred again when I tried to combine a .love file and a .exe file. Again, if I compress the folder, I can see the file, but not in the uncompressed folder.

    I followed the instructions here: http://love2d.org/wiki/Game_Distribution

  6. #6
    Join Date
    Dec 2010
    Beans
    24

    Re: Files not showing after using 'cat' command?

    F5 usually does it

  7. #7
    Join Date
    Aug 2011
    Beans
    339
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Files not showing after using 'cat' command?

    Your file manager should have a 'View' menu and in there either a 'Refresh' or 'Reload' option or something of that ilk. It may, as handheld-penguin said, show F5 as an accelerator.

Bookmarks

Posting Permissions

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