4
votes
5answers
292 views

How do I pipe a list of numbers straight from the shell into a command?

How do I pipe a list of numbers straight from the shell into a command? For exampe something like this [1,2,3,4] | sort would give 1 2 3 4 EDIT: In response to the answers kindly posted so ...
1
vote
2answers
145 views

Change only the user of a file

I have a textfile with name negin.txt in /home and did the following: Right click → Properties → Permissions → Advanced Permissions → Add Entry → Named User user:wwwrun Is ...
5
votes
4answers
4k views

Explanation of command to uppercase the first letter of a filename

I'm trying to learn to rename files with the command line, and after browsing around a lot of pages I finally found a command that uppercases the first letter of a file, but the problem is that I want ...
3
votes
2answers
7k views

How can I sort ls by owner and group?

How can I list directories with ls and sort them by their owner and group?