All Questions
6 questions
0
votes
1
answer
136
views
On simple filenames as commands versus arguments
I am reading Sobell's A Practical Guide to Linux Commands, Editors, and Shell Programming, 4e, and I am currently starting Chapter 5 on the basics of shells.
On page 135 Sobell explains that
From the ...
20
votes
1
answer
6k
views
Using mv command to move a file from one folder to another one - Strange example
I'm learning unix commands from a UNIX Tutorial for Beginners at surrey.ac.uk where I found a weird way to move a file. In particular, I have the folder unixstuff in the home directory, inside the ...
2
votes
1
answer
507
views
Consolidate several GraphicsMagick (ImageMagick) commands into one
There are many times I get single page PDFs that I want to convert to JPEGs and crop the excess whitespace off of.
Here is the current set of commands I have which accomplishes what I want:
gm ...
-1
votes
1
answer
240
views
Why would calling cd (builtin) from cd (shell function) without "command" cause an endless loop?
I once read in a Bash book by O'Reilly the following (my summary):
command and enable
cd () {
echo "Improved CD !"
# Improvement one;
command cd
# Improvement two;
# Do cool ...
0
votes
1
answer
1k
views
Commands Grouping
I understand the ampersand & at the end of a command sequence executes it on the background (in "parallel"), the semicolon ; allows for sequential (in "series"), and the parenthesis allows command ...
3
votes
2
answers
220
views
Is the synopsis section of the man page for the find command wrong?
So, I have been trying to get into the habit of first looking at man pages before starting to google when I forget how to run a certain command.
I was looking at the man page for the find command ...