Question

I need a resume of all the important commands of linux with their operation

I need a resume of all the important commands of linux with their operation

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ls [option(s)] [file(s)]

ls command is used to list the files in the folder with hidden and full listing detailed view.

-l detailed list
-a displays hidden files

cp [option(s)] sourcefile targetfile

Copies sourcefile to targetfile.

-i Waits for confirmation, if necessary, before an existing targetfile is overwritten
-r Copies recursively (includes subdirectories)

there are too many switches but its not listed here.

mv [option(s)] sourcefile targetfile

Copies sourcefile to targetfile then deletes the original sourcefile.
-b Creates a backup copy of the sourcefile before moving
-i Waits for confirmation, if necessary, before an existing targetfile is overwritten

rm [option(s)] file(s)

Removes the specified files from the file system. Directories are not removed by rm unless the option -r is used.

-r Deletes any existing subdirectories
-i Waits for confirmation before deleting each file.

cd [directory]
change directory

mkdir [option(s)] directoryname
make directory with -p parent directory and subdirectory creating

rmdir [option(s)] directoryname
remove directory

chown [option(s)] username.group file(s)
change ownership of file or folder

chgrp [option(s)] groupname file(s)
change group of the user

chmod [options] mode file(s)
change file mode with read write execution rights can be change by the command.

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
I need a resume of all the important commands of linux with their operation
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need help with this. 10-21. Briefly describe the following Linux commands and acronyms. ssh: telnet:...

    I need help with this. 10-21. Briefly describe the following Linux commands and acronyms. ssh: telnet: traceroute: TCP: LAN: DNS: ftp: ssh: ping: env: g++: gcc: 22. Show a command that will create a file named "etc.tar" in your home directory from recursively going through all of the files in the "/etc" directory. In other words, the "etc.tar" file will include the files in the "/etc" directory as well as all of its subdirectories. IMPORTANT: This command must work for...

  • I need some help with the cp command in Unix/Linux. I need to copy all the...

    I need some help with the cp command in Unix/Linux. I need to copy all the files in my current directory A03 into the backup directory. How do I do this? I am taking an introductory unix/linux course so I need a basic answer. Thanks.

  • You need to write Linux commands to set up the read, write and execute permissions at...

    You need to write Linux commands to set up the read, write and execute permissions at group level. R_Access_Output: A group that allows read access to the project output file RW_Access_Output: A group that allows read/write access to the project output file. R_Access_InputFile: A group that allows read access to the shell script input file. RW_Access_InputFile: A group that allows read/write access to the shell script input file Script_Execution: A group that should allow executing the script. Login into the...

  • Please write the Linux commands and run them. h. What is the command or commands that...

    Please write the Linux commands and run them. h. What is the command or commands that would list the contents of the /var/log directory in alphanumeric order? List the command and its output. i. What is the command or commands used to list the files in /var/log in order of their size? List the command and its output. j. What is the command or commands used to list the top 10 file who use the most disk space? What is...

  • 1. the commands you used to create the directories and files in Linux and Windows; 2....

    1. the commands you used to create the directories and files in Linux and Windows; 2. the commands you used to determine default permissions in Linux and Windows; 3. the commands you used to change permissions on your files in Linux and Windows; 4. a paragraph about how directories and file permissions work and what was the same or different between Windows and Linux.

  • Need Linux Commands and instructions for the following: 6. Write a script to display numbers from...

    Need Linux Commands and instructions for the following: 6. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint: use "read" command to accept user input. a) Display the source code in an editor (#4-9) b) Execute your script in the terminal, and display the command and the result (#4-10)

  • Linux / Unix: Please explain in details if you can. Thanks. Write find commands for the...

    Linux / Unix: Please explain in details if you can. Thanks. Write find commands for the following. No need to submit execution output. 3. To find all files from current directory that have not been modified in the past three days 4. To find all files from /bin that are owned by root 5. To find all files from /etc that have the inode number 87539084

  • In Linux Please What is the command or commands that will show you the last 15...

    In Linux Please What is the command or commands that will show you the last 15 lines of the /var/log/kernel.log file? Please write the commands and copy the output.

  • Using Linux commands grep 3.0.3 Questions: Using patterns wtih grep Provide the grep commands for the...

    Using Linux commands grep 3.0.3 Questions: Using patterns wtih grep Provide the grep commands for the following searches in the file /usr/share/common-licenses/GPL-3 1. All lines that contain words that begin with a capital letter. 3 2. All text of any length that is a parenthetical statement (i.e., in paren- thesis). 3. Any line in the file that begins with a capital letter and ends with a period. 4. Any line in the file that contains the strings "GPL" or "General...

  • Operating Systems write a script in Linux which executes these commands; 1- Open the written document...

    Operating Systems write a script in Linux which executes these commands; 1- Open the written document 2- Copy the attribute and last time of modification (The script should run both commands at the same time) By written document I mean a simple txt file and the attribute of that file.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT