1
vote
1answer
38 views

Root is receiving “operation not permitted” error when trying to move a a users .bash_profile

This are the permissions on the RHEL5 machine: [root@server1 belmin]# ls -la | egrep '\.(bash_profile)?$' drwx------ 9 belmin belmin 4096 Sep 16 14:29 . drwxr-xr-x 40 root root 4096 ...
4
votes
1answer
45 views

. (dot) in file mode [duplicate]

I tar a folder on windows and untar on RHEL machine. ls -l shows a . in file mode and folders are in blue + yellow background. [root@xt-storage-01 apache-tomcat-8.0.5]# ls -l total 120 drwxrwxrwx. 2 ...
1
vote
3answers
236 views

Create directories from a list of files with spaces in name

I have a directory with a list of files in it. All these files have spaces in their names. I would like to create a directory, for each file, with the name of the file except the extension (which is ...
0
votes
1answer
204 views

Get a clean list of files transferred from rsync

I'm trying to get an itemized list of files transferred by rsync. Using the -i and --out-format options, I'm instead ending up with output that looks like this: 3HMP1MO_001.tif 974.68K 100% ...
2
votes
1answer
156 views

Why are the timestamps on files so old on my newly installed system?

I installed the Red Hat Enterprise Linux 5.6 on a client system today. If it is of any concern, it's running on the bare metal. After the installation was completed, I did ls -ltr / and it showed a ...
2
votes
2answers
101 views

reformat a text file to have all text on one line using CentOS 5.6

I have a 210-line block of HTML that I have stored in a HTML for debugging purposes. The HTML, as you would expect, is formatted accordingly so is stored in the file with spaces and tabs. Is it ...