F5F Stay Refreshed Software Operating Systems kali linux

kali linux

kali linux

L
Lowdes
Member
214
02-10-2023, 10:51 AM
#1
Hi everyone. I'm currently practicing Kali Linux commands, focusing on the "cp" command. When I tried to copy a file with cp -v test /var/ and the directory was missing, I got an error about omitting the directory. Also, the tutorial suggested going to var after home, but I went straight to home using the terminal. Despite not seeing a var folder, I still accessed it. Why is that?
L
Lowdes
02-10-2023, 10:51 AM #1

Hi everyone. I'm currently practicing Kali Linux commands, focusing on the "cp" command. When I tried to copy a file with cp -v test /var/ and the directory was missing, I got an error about omitting the directory. Also, the tutorial suggested going to var after home, but I went straight to home using the terminal. Despite not seeing a var folder, I still accessed it. Why is that?

B
BlitzSquadHD
Member
195
02-14-2023, 09:14 AM
#2
I tried my best to explain. Linux file explorer functions differently from Windows Explorer. The .sh file in your explorer is likely a script, while the folder in the console probably shows its path. Regarding your second question, Linux files are accessed through commands and interfaces like Terminal or GUI tools, not just visual browsers. The reason you don’t see it in the usual way might be because it’s hidden or uses a different interface. Your confusion is normal—let me clarify how it works!
B
BlitzSquadHD
02-14-2023, 09:14 AM #2

I tried my best to explain. Linux file explorer functions differently from Windows Explorer. The .sh file in your explorer is likely a script, while the folder in the console probably shows its path. Regarding your second question, Linux files are accessed through commands and interfaces like Terminal or GUI tools, not just visual browsers. The reason you don’t see it in the usual way might be because it’s hidden or uses a different interface. Your confusion is normal—let me clarify how it works!

C
COLIN20052012
Posting Freak
857
02-28-2023, 01:55 AM
#3
On my Linux systems Ubuntu 16.04 Gnome, the directory is located under the computer folder rather than home. Pressing [ctrl h] reveals hidden files. This behavior may vary on Debian; I can share screenshots later if needed. You’ll need to boot back into Linux on your laptop while the other machine runs without a graphical interface most of the time.
C
COLIN20052012
02-28-2023, 01:55 AM #3

On my Linux systems Ubuntu 16.04 Gnome, the directory is located under the computer folder rather than home. Pressing [ctrl h] reveals hidden files. This behavior may vary on Debian; I can share screenshots later if needed. You’ll need to boot back into Linux on your laptop while the other machine runs without a graphical interface most of the time.

F
FreeSKIer2334
Junior Member
5
03-02-2023, 07:14 AM
#4
my friend finally grasped my issue: there are separate folders for home files, one for computer disk files and another on the desktop. When I accessed the computer, the home I used wasn’t the same as the one I asked about. I’ve taken some photos to illustrate this.
F
FreeSKIer2334
03-02-2023, 07:14 AM #4

my friend finally grasped my issue: there are separate folders for home files, one for computer disk files and another on the desktop. When I accessed the computer, the home I used wasn’t the same as the one I asked about. I’ve taken some photos to illustrate this.

S
SoyDash
Posting Freak
859
03-02-2023, 11:30 AM
#5
The primary location is at /home/$USERNAME, while the root directory is also accessible from the top of the filesystem. It's advisable to familiarize yourself with Linux filesystem structure, basic file handling, and navigation. Typically, you won't find a var folder in your home directory unless you've set one up yourself. Most discussions about var refer to /var.
S
SoyDash
03-02-2023, 11:30 AM #5

The primary location is at /home/$USERNAME, while the root directory is also accessible from the top of the filesystem. It's advisable to familiarize yourself with Linux filesystem structure, basic file handling, and navigation. Typically, you won't find a var folder in your home directory unless you've set one up yourself. Most discussions about var refer to /var.

M
MineCraftHuub
Member
92
03-03-2023, 01:02 PM
#6
I'm just getting started with this topic, so don't worry about missing anything. Thanks for your support!
M
MineCraftHuub
03-03-2023, 01:02 PM #6

I'm just getting started with this topic, so don't worry about missing anything. Thanks for your support!