User Tools

Site Tools


linux:ubuntu:useful-commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:useful-commands [2024/02/08 16:35] – [[ls] List all files that starts with a, b or c and have the .txt extension] odeftalinux:ubuntu:useful-commands [2024/02/08 17:12] (current) – [[user] Change mode] odefta
Line 1080: Line 1080:
 echo -e "5\n3\n8\n1" | sort -n echo -e "5\n3\n8\n1" | sort -n
 </code> </code>
-e - interpret escape sequences+e - interpret escape sequences \\ 
 n - numbers (sort as numbers) n - numbers (sort as numbers)
  
Line 1956: Line 1956:
 </code> </code>
  
-Eliminare read permission for group:+Eliminate read permission for group:
 <code> <code>
 chmod 601 file.txt chmod 601 file.txt
Line 1962: Line 1962:
 </code> </code>
  
-Eliminare write permission for all:+Eliminate write permission for all:
 <code> <code>
 chmod ugo-w file.txt chmod ugo-w file.txt
linux/ubuntu/useful-commands.1707402907.txt.gz · Last modified: 2024/02/08 16:35 by odefta