Linux Command Line Basics Quiz
7 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

______ output any text we provide

echo

find out what user we are currently logged in as

whoami

change directory

cd

word count, number of entries, lines, …

<p>wc</p> Signup and view all the answers

search the contents of files for specific values

<p>grep</p> Signup and view all the answers

print working directory

<p>pwd</p> Signup and view all the answers

Nano has a few features that are easy to remember & covers the most general things you would want out of a text editor, including: Searching for text - nano Copying and Pasting Jumping to a line number You can use these features of nano by pressing the 'Ctrl' key (which is represented as an ^ on Linux) and a corresponding letter. For example, to exit, we would want to press 'Ctrl' and 'X' to exit Nano. Much more advanced editor (Vi IMproved). Some of VIM's benefits, albeit taking a much longer time to become familiar with, includes: Customisable - you can modify the keyboard shortcuts to be of your choosing vim Syntax Highlighting - this is useful if you are writing or maintaining code, making it a popular choice for software developers vim filename VIM works on all terminals where nano may not be installed - There are a lot of resources such as cheatsheets, tutorials, and the sorts available to you use. Vim Cheat Sheet 0 - last yank ' - unnamed register, last delete or yank % - current file name https://vim.rtorr.com/ General/Useful Utilities Downloading Files Linux Fundamentals 2 A pretty fundamental feature of computing is the ability to transfer files. For example, you may want to download a program, a script, or even a picture. We're going to cover the use of ______. This command allows us to download files from the web via HTTP -- as if you were accessing the file in your browser. We simply need to provide the address of the resource that we wish to download. For example, if I wanted to download a file.

<p>wget</p> Signup and view all the answers

More Like This

Linux Command Line Basics
12 questions
Linux Command Line Basics
5 questions
Use Quizgecko on...
Browser
Browser