LinuxQuestions.org
Review your favorite Linux distribution.
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 01-26-2015, 11:09 AM   #1
snake777
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
Need help inputting commands. take a look at my question below. using kali linux wind


how do i input this into the CLI?

Create two new files a.txt and b.txt, create a tarball of the two files

using kali linux on windows 7
 
Old 01-26-2015, 11:10 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
smells like homework... what have you tried so far and where are you stuck ?

hint:
touch and tar commands

Last edited by schneidz; 01-26-2015 at 11:13 AM. Reason: hint
 
Old 01-26-2015, 11:13 AM   #3
snake777
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
smells like homework... what have you tried so far and where are you stuck ?

first i typed in

path a.txt b.txt
so i think i created the files
 
Old 01-26-2015, 11:15 AM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
what is the output you got from that command ?

heres the error i get:
Code:
[schneidz@hyper ~]$ path a.txt b.txt
bash: path: command not found...
Failed to search for file: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
you can check for the existence of files in the current directory by running ls.
 
Old 01-26-2015, 11:24 AM   #5
snake777
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
what is the output you got from that command ?

heres the error i get:
Code:
[schneidz@hyper ~]$ path a.txt b.txt
bash: path: command not found...
Failed to search for file: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
you can check for the existence of files in the current directory by running ls.
got the same thing. do you know anyone who knows how to make that work?
 
Old 01-26-2015, 11:29 AM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
it seems like path is not an appropriate command.
seems like you need to get more base understanding from your teacher or a ta.
 
Old 01-26-2015, 11:37 AM   #7
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by schneidz View Post
smells like homework... what have you tried so far and where are you stuck ?

hint:
touch and tar commands
These are both on the right track. I suggest you do (in the cli)
Code:
man tar
man touch
to gain a better understanding of how these commands work.
 
  


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
Question regarding USB live install of Kali Linux Linux_Noob14 Linux - Newbie 2 01-21-2014 02:30 AM
Linux -Redhat Commands Question madcatver1 Linux - General 1 01-29-2008 10:48 AM
Scripting question - inputting into programs yayphysics Linux - Newbie 6 03-28-2005 08:56 AM


All times are GMT -5. The time now is 09:05 PM.

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