LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-11-2008, 07:21 AM   #1
rlg
LQ Newbie
 
Registered: Jan 2004
Posts: 10

Rep: Reputation: 0
tar command alias command


Readers,

Below is a log of instant message communication, to help with a tar command and also the alias command, courtesy of the jabber room jabber@conference.jabber.org:

(11:46:12) r: Thank you. When I try to use tar from the command terminal: tar -cjvf ./archivename.tar.bz2 ./* the result of the archive is a structure /folder1 /folder2 /folder 3 all under a folder named . (i.e. full stop). What I want is the archive to open with /folder1 /folder2 /folder3.
(11:50:56) MattJ: Hmm, what shell are you using?
(11:51:18) r: I think the default is bash (mandriva 2008)
(11:51:24) MattJ: Strange
(11:51:30) MattJ: Well, try just *
(11:51:33) MattJ: Instead of ./*
(12:00:33) r: Asterisk works, thank you! Learned something new also; ls shows the contents of a folder, but la seems to show the contents plus './' and '../'. Any idea why? 'Man la' did not yield any results so I don't know how to find out more...
(12:01:25) smoku: r, type 'alias[enter]' to find out why
(12:03:15) MattJ: r, la is probably set to be: ls -a
(12:03:26) r: Very good, thank you again; la=ls -a, which I do understand
(12:03:33) MattJ:
(12:05:04) r: You guys should also be in the linux room so I can fire these silly questions in the relevant room. Pity there isn't a web site to host these types of chats; perhaps I should copy this converstion into linuxquestions, for the benefits of other novices such as myself.
 
  


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
directory for alias command ernestk Linux - Server 1 08-30-2007 05:56 PM
Creating Command Alias? carlosinfl Linux - General 3 07-14-2007 05:32 PM
Use for the alias command Metablade Linux - Newbie 4 10-12-2005 05:44 PM
alias command line arguements Henster Linux - Newbie 2 07-01-2005 03:40 AM
alias command zeviddalop Linux - Newbie 3 01-12-2005 09:59 PM

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

All times are GMT -5. The time now is 03:42 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