F5F Stay Refreshed Software Operating Systems Need assistance with Linux commands? Ask for help and get clear guidance.

Need assistance with Linux commands? Ask for help and get clear guidance.

Need assistance with Linux commands? Ask for help and get clear guidance.

K
KadirReis
Member
108
08-04-2020, 09:56 PM
#1
Hi!
1. To check the current directory, use `pwd`.
2. Navigate to the desktop → open "cat" → type `ls` → type `cat dog` → type `cat file.txt` (replace with your file).
K
KadirReis
08-04-2020, 09:56 PM #1

Hi!
1. To check the current directory, use `pwd`.
2. Navigate to the desktop → open "cat" → type `ls` → type `cat dog` → type `cat file.txt` (replace with your file).

X
xXApfelkernXx
Member
186
08-05-2020, 03:56 AM
#2
1. Password 2. It seems you're tackling a task, so I won't give a direct answer. Check each step separately. Making files and printing them is part of the process. You should explore these steps one by one.
X
xXApfelkernXx
08-05-2020, 03:56 AM #2

1. Password 2. It seems you're tackling a task, so I won't give a direct answer. Check each step separately. Making files and printing them is part of the process. You should explore these steps one by one.

1
111carys111
Posting Freak
832
08-08-2020, 11:53 AM
#3
The text seems to be a mix of phrases and unclear formatting. It might need clearer structure for readability. Let me know if you'd like help refining it!
1
111carys111
08-08-2020, 11:53 AM #3

The text seems to be a mix of phrases and unclear formatting. It might need clearer structure for readability. Let me know if you'd like help refining it!

Z
zimm_matt987
Member
52
08-10-2020, 11:36 PM
#4
The format for the command is incorrect. Use `find ./cat/dog` as suggested. This will create an empty file named "kitten" in the specified location. The `pr` command isn't relevant here.
Z
zimm_matt987
08-10-2020, 11:36 PM #4

The format for the command is incorrect. Use `find ./cat/dog` as suggested. This will create an empty file named "kitten" in the specified location. The `pr` command isn't relevant here.

N
nightfall8000
Member
141
08-11-2020, 02:43 AM
#5
The command you're seeking is pwd. I'm not clear on what you mean by having a file inside another file. Are you referring to a folder called cat that contains another folder named dog? Also, do you mean "move from the desktop"? The desktop usually means a graphical interface — not a command line. Do you mean the standard Desktop folder in your home directory? Yes, I'm going to assume that. I'll imagine a structure like this: root / /home/user/ /home/user/username/ /home/user/username/Desktop/ /home/user/username/cat/ /home/user/username/dog/. If you're already in /home/user/Desktop, you'd type "cd ~/dog" to switch. Then "touch kitten" creates the file. Next, "cd ~/cat" takes you there. Finally, "ls" shows what's inside. Commands: ~ is short for your home folder, cd changes directories, pwd displays current path, ls lists files.
N
nightfall8000
08-11-2020, 02:43 AM #5

The command you're seeking is pwd. I'm not clear on what you mean by having a file inside another file. Are you referring to a folder called cat that contains another folder named dog? Also, do you mean "move from the desktop"? The desktop usually means a graphical interface — not a command line. Do you mean the standard Desktop folder in your home directory? Yes, I'm going to assume that. I'll imagine a structure like this: root / /home/user/ /home/user/username/ /home/user/username/Desktop/ /home/user/username/cat/ /home/user/username/dog/. If you're already in /home/user/Desktop, you'd type "cd ~/dog" to switch. Then "touch kitten" creates the file. Next, "cd ~/cat" takes you there. Finally, "ls" shows what's inside. Commands: ~ is short for your home folder, cd changes directories, pwd displays current path, ls lists files.