How to rename a file name named "." [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have downloaded a large file about 2gigs from remote server but by mistake I gave it name . (dot).
How can I rename it using linux commands ?

I don't think you really have named it .. Or at least, you cannot have done so successfully.
The name . is reserved for the current directory. So either it has been given another name implicitly, or it has been removed/discarded.
Try
find -size +1536M -ls
to find if there is any file with this size, and if so, verify if it can be the file you look for.

Related

How to copy all the fine with a specific format like .txt and .png from a folder to another one in Linux Terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi all I have a folder full of different format like the one that I am interested in are .png and .txt and I want to copy them in another folder from the terminal in Linux. Someone know how to that?
Simple Use cp command in Linux
=> Example:
cp *.txt /destination/folder/location/

how can i create a file in Linux, without using any program/command? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have a question if I want to create a file without using command or programming?
I know mkdir hi.txt, but is there any way to make without using these?
The touch PATH program will create an empty file at the location entered for PATH.
Example: touch /var/tmp/file.txt will create an empty file at /var/tmp/file.txt
If you want to create a file in Linux, without using any program/command,
you can use > this sign
like > hi.txt it will create a file

Linux command Cat dont file archive but archive in folder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
When I try to cat in one file, for exemple cert.pem I receive ab error: No such file or directory
These are symbolic links - special files that just contain the path to another file. When you cat them, they essentially redirect to the file they link to. However, as evident by the red color in the ls output, these links are broken - they point to files that do not exist, and thus you get that error when you try to cat them.

Mass file renaming (Linux) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a directory in linux with lots of images having double underscore (__), I have to make it single under score (_). Lets say file name is a__1.jpg. I have to make it a_1.jpg. I have to do it for all files inside a directory. What should be the command?
Thanks
There are several ways to achieve this goal.
If you have mmv installed (or are able to install it), you can do
mmv \*__* \#1_#2
If not, maybe rename is an option:
rename _ __ *
(but alas, here I am not so sure about the syntax.)

lpr to print files with different names and directories [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a script witch use lpr to print the output to a PDF file.
I would like to change the location or even the file name of the saved file.
I read several forums about lpr and did not find anything on how to specify the name and the directory of the printed pdf.
Instead I always get a standard name in my PDF directory.
Thank you!
Take a look at cups-pdf, https://help.ubuntu.com/community/PDFPrinting . You can configure the output directory and filename with it. The configuration file is /etc/cups/cups-pdf.conf.

Resources