Linux Command Assignment
Linux Command Assignment
IAS101 | BSIT-3A
20 Linux Command
2. df - Use to report the system’s disk space usage, shown in percentage and
kilobyte (KB). These are some acceptable options to use:
● df -m displays information on the file system usage in MBs.
● df -k displays file system usage in KBs.
● df -T shows the file system type in a new column.
3. grep - Another basic Linux command on the list is grep or global regular
expression print. It lets you find a word by searching through all the texts in a
specific file.
5. find - Use to search for files within a specific directory and perform
subsequent operations.
6. tail - displays the last ten lines of a file. It allows users to check whether a file
has new data or to read error messages.
8. Jobs - will display all the running processes along with their statuses.
Remember that this command is only available in csh, bash, tcsh, and ksh
shells.
9. Ping - is one of the most used basic Linux commands for checking whether a
network or a server is reachable. In addition, it is used to troubleshoot various
connectivity issues.
10. Wget - command retrieves files using HTTP, HTTPS, and FTP protocols. It can
perform recursive downloads, which transfer website parts by following
directory structures and links, creating local versions of the web pages.
11. Uname - or unix name command will print detailed information about your
Linux system and hardware. This includes the machine name, operating
system, and kernel. To run this command, simply enter uname into your CLI.
12. history - the system will list up to 500 previously executed commands,
allowing you to reuse them without re-entering. Keep in mind that only users
with sudo privileges can execute this command. How this utility runs also
depends on which Linux shell you use.
13. man - provides a user manual of any commands or utilities you can run in
Terminal, including the name, description, and options.
16. Htop - is an interactive program that monitors system resources and server
processes in real time. It is available on most Linux distributions, and you can
install it using the default package manager.
18. more - The more command is quite similar to the cat command, as it is used
to display the file content in the same way that the cat command does. The
only difference between both commands is that, in case of larger files, the
more command displays screenful output at a time.
19. less - The less command is similar to the more command. It also includes
some extra features such as 'adjustment in width and height of the terminal.'
Comparatively, the more command cuts the output in the width of the
terminal.
20. Zip, unzip - to compress your files into a ZIP file, a universal format
commonly used on Linux. It can automatically choose the best compression
ratio.