Download your favorite Linux distribution at LQ ISO.
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!


  Search this Thread
Old 03-11-2008, 07:21 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 10

Rep: Reputation: 0
tar command alias command


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

(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.


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 > Forums > Linux Forums > Linux - Newbie

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