10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I would like to get latest file with using listing tail and want to replace header's first column starting from # to nothing.
I am using this to replace first header #
code :-sed '1s/#//'
but I want to do something like this.
Code :- ls promo_random.csv | tail -1 | sed '1s/#//'... (4 Replies)
Discussion started by: himanshupant
2. UNIX for Advanced & Expert Users
Greetings to you. I have a quick question for the community today ;)
I'm interested in the following format for recursive output from a command such as "ls" or "dir" when pointed to a folder:
...but there doesn't seem to be coverage for this type of output formatting in the manpages.
Maybe... (11 Replies)
Discussion started by: LinQ
3. UNIX for Dummies Questions & Answers
Could you please help to resolve my following issues:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
4. Shell Programming and Scripting
I have a very basic question:
How do I list all the directories in the following order?
If I do ls -l I get different results than I want to achieve.
dir.14 (4 Replies)
Discussion started by: jville
I have this old server onto which i needed to list the content of a tape. This is a SCO box (SCO_SV 3.2 5.0.6 i386) and backup was done using cpio.
status : ready beginning-of-tape
soft errors : 0
hard errors : 0
underruns : 0
/dev/rct0 ... (5 Replies)
Discussion started by: Stephan
6. Shell Programming and Scripting
I am trying to get a file name only. Could anyone help me on the same.
Meaning I have a file say list.out which holds below output
I want an output as below
i.e I want to delete everything before abc.txt
Please help me out if any one has... (4 Replies)
Discussion started by: spark
7. UNIX for Dummies Questions & Answers
hello im new to linux programming trying to list files in a directory i current have the code to list all the files but i do not want the hidden files to show such as a file named .openoffice.org2.0 for example, can anyone help me or point me in the right direction
#include <sys/types.h>... (2 Replies)
Discussion started by: Fortune
8. UNIX for Dummies Questions & Answers
Just a quick question. Is there a command that just lists the folders in a directory. I know of 'ls -p' that shows the directories with a '/' at the end. Though i would just like to have a list of the folders instead of everything else in that folder.
Thanks (3 Replies)
Discussion started by: Jaken
9. Filesystems, Disks and Memory
Hi, is there a way from the command line that I can list all files whose names are say 20 characters or more and direct the results into a file. I'm using RH9.
thankx (2 Replies)
Discussion started by: richarmj
10. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh