Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What, if anything, is wrong with each of the following commands?
Home
Linux
What, if anything, is wrong with each of the following commands?
+1
vote
asked
May 11, 2021
in
Linux
by
rajeshsharma
What, if anything, is wrong with each of the following commands?
a) ls -l-s
b) cat file1, file2
c) ls - s Factdir
#linux
commands
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 11, 2021
by
rajeshsharma
a) there should be space between the 2 options: ls -l -s
b) do not use commas to separate arguments: cat file1 file2
c) there should be no space between hyphen and option label: ls –s Factdir
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What does piping commands mean?
asked
Jul 1, 2023
in
Linux
by
sharadyadav1986
piping
commands
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
+1
vote
Q: Write a command that will do the following:
asked
May 11, 2021
in
Linux
by
rajeshsharma
linux
commands
0
votes
Q: What are the commands that are used to copy an object in Python?
asked
Sep 7, 2022
in
Python
by
sharadyadav1986
python
object
commands
0
votes
Q: Mention the types of navigation commands
asked
Mar 30, 2021
in
Selenium
by
sharadyadav1986
#navigation-commands
navigation
commands
selenium
+1
vote
Q: List out some important advanced docker commands
asked
Apr 5, 2020
in
Docker
by
ryan harris
#devops-docker-commands
docker-command
commands
docker
0
votes
Q: Describe what each of the following command line utilities do:
asked
Jul 1, 2023
in
Linux
by
sharadyadav1986
commandlinutilities
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
+1
vote
Q: Write a command that will display all .txt files, including its individual permission.
asked
May 11, 2021
in
Linux
by
rajeshsharma
#display-files
linux
commands
0
votes
Q: If a file associated with test1.01.i386.rpm deleted, than How we will recover that file?
asked
Aug 31, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
0
votes
Q: What command should you use to check the number of files and disk space used and each user's defined quotas?
asked
Aug 29, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
0
votes
Q: If some one deletes /boot directory from your server, than what will happen?
asked
Aug 31, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
...