LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help inputting commands. take a look at my question below. using kali linux wind (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-inputting-commands-take-a-look-at-my-question-below-using-kali-linux-wind-4175532132/)

snake777 01-26-2015 10:09 AM

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

schneidz 01-26-2015 10:10 AM

smells like homework... what have you tried so far and where are you stuck ?

hint:
touch and tar commands

snake777 01-26-2015 10:13 AM

Quote:

Originally Posted by schneidz (Post 5306923)
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

schneidz 01-26-2015 10:15 AM

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.

snake777 01-26-2015 10:24 AM

Quote:

Originally Posted by schneidz (Post 5306927)
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?

schneidz 01-26-2015 10:29 AM

it seems like path is not an appropriate command.
seems like you need to get more base understanding from your teacher or a ta.

Miati 01-26-2015 10:37 AM

Quote:

Originally Posted by schneidz (Post 5306923)
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.


All times are GMT -5. The time now is 08:59 PM.