Oluwa Saucekid
Members
- 24 Nov 2023
- 6
- 13
You forgot a space. The command is `cat`, it displays the content of a file. And the file is `/proc/swaps` (you also seem to have forgotten one "s". So it is `cat /proc/swaps`. The `cat` command is harmless, it only displays content. So you can do trial and error with it. Another advice, the tab key from the termux will autocomplete the names, play with it in case you don't really know the name of a file/command. Another command that will be helpful if you get lost is "ls", it lists files, you can also pass a path to it, so you can try `ls /proc`
Thank you for your response. I caught my mistake this morning after I attempted it again with a clearer eye and reasoning (I was tired from work yesterday), and yes, I missed the space. The command works now.
All is left now is to automate it to run on boot as it doesn't survive a reboot.
Do you have any advice concerning that?
Thank you in advance...