Practicing Linux Commands

.pdf

School

Amarillo College *

*We aren’t endorsed by this school

Course

ITSC 2335-

Subject

Information Systems

Date

Dec 6, 2023

Type

pdf

Pages

1

Uploaded by HighnessReindeer4532

Report
Practicing Linux Commands Practice the Linux commands listed in Table 1 using the Ubuntu OS you created in a previous lab. Use the Terminal app to complete. As you do so, you’ll examine the directory structure, create a new directory, and put a blank file in it. Practice Using Linux Commands Task Command Description 1 ls -l Lists files and directories in the current directory; in Linux, a directory is treated more like a file than it is in a Windows directory 2 pwd Displays the full path to the current directory; when you first log in to a system, that directory is /home/ username 3 mkdir mydir Creates a directory named mydir; the directory is created in the current directory 4 cd mydir Goes to the directory you just created in the /home/ username directory 5 touch myfile Creates a blank file named myfile in the current directory 6 ls Lists the current directory’s contents 7 cd .. Moves up one level in the directory tree 8 cd /etc Changes the directory to the /etc directory, where text files are kept for configuring installed programs 9 ls Lists the contents of the /etc directory 10 cd /home Changes the directory to the /home directory 11 ping 127.0.0.1 Pings the loopback address; pinging continues until you stop it by pressing Ctrl+C 12 ifconfig Displays TCP/IP configuration data 13 man ifconfig Displays the page from the Linux Manual about the ifconfig command; press q to exit 14 df -T Displays free space on the hard drive and the file system used 15 exit Logs out; the login shell prompt appears, where you can log in again Table 1 Linux Commands 1. How do these commands differ from using the Command Prompt in Windows? Linux has access to source code and alters the code per the user. Windows does not. 2. How do these commands differ from using the PowerShell in Windows? Linux has a text-based command-line interface. Powershell uses interactive graphical command-line interface.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help