Results 11 to 20 of 22

Thread: Bash command to open a new terminal session and display results or actual actions.

Threaded View

  1. #1
    Join Date
    Sep 2007
    Beans
    Hidden!

    Bash command to open a new terminal session and display results or actual actions.

    Xfce related for Xubuntu

    Hi Folks,

    How would I write in a "bash" command that would open a second terminal session (xfce4-terminal and/or xterm; if they are different) and display information in the second terminal not in the first.

    EDIT:
    My idea maybe wasn't clear enough in the original post:

    I'm trying to write a bash script that will display results of commands in a second terminal so as not to mess up the the original terminal.

    EDIT: 2
    Can someone tell me which terminal is the "default" for Xubuntu
    1. xfce4-terminal; or
    2. xterm

    as both are installed by default on a clean install, but only xfce4-terminal shows up in the menus. Applications > Accessories > Terminal

    From comments so far, up to post #15, people seem to be using xterm more.
    End EDIT 2

    For example

    ONE:
    Type in a command - opens another terminal and displays all files in /media/sdb1/Documents/Book, keeping my original terminal clean except for the original command

    TWO:
    Or if I want to copy a number of files: Chapter??.**~
    From: /media/sdb1/Documents/Book
    To: /media/sdb1/Documents/Book/old

    The command given would be in the 1st terminal, it would open a 2nd terminal and I'd see the "list of files being copied" as they were being copied.

    THREE:
    I have this bash file:
    Code:
    #!/bin/bash
    find /media/sdb1/Documents/Book -mtime +14 -type f -delete
    How can I rewrite that one to open a 2nd terminal and display the contents of what's there before and after the process, before just for the practice, I'm really interested in the "after"

    Thanks Folks
    Bruce
    Last edited by Bruce M.; April 20th, 2008 at 05:22 PM. Reason: EDIT, 2

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
  •