7 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I would like to write a script that would remove and/or create shortcuts in Gnome desktop in RHEL 6.3...
I googled all over the place could never find what I needed...
Any help would be greatly appreciated!
Thank you! (0 Replies)
Discussion started by: ruberked
0 Replies
2. Shell Programming and Scripting
I have an application that runs through bash shell and i want to change the shell icon , so when i copy my application to another computer the shell can still run , can i do that ? because i try with .desktop its failed (0 Replies)
Discussion started by: caladblog
0 Replies
3. Shell Programming and Scripting
I need to put a small delay into a shell script. I'm looking for something smaller than "sleep" - a second is way too long. I want to sleep something like 10 milliseconds. I've tried "usleep" and "nanosleep", but the script doesn't recognize them.
I'm using the bash shell but I'm willing to... (9 Replies)
Discussion started by: harmlesscat
9 Replies
4. OS X (Apple)
In a recent topic, I asked how I could run a shell code without having to deal with terminal opening.
What I'm trying to accomplish now is to make my app change it's icon when the code is complete.
(With complete I mean when the process is done.)
Thanks in advance. :) (10 Replies)
Discussion started by: ShadowofLight
10 Replies
5. Shell Programming and Scripting
Situation:
I've logged in as ordinary_user1;
I can su to common_dev_user;
When I su to common_dev_user, I'm taken to the HOME dir of common_dev_user;
Everytime I need to cd to a particular folder from here (say like cd /developers/ordinary_user1/code/)
This is a repetitive task (su ing and... (3 Replies)
Discussion started by: krishmaths
3 Replies
6. Shell Programming and Scripting
I have a Java app that is deployed on several Unix systems. Until recently, starting it from the command line was no problem. A recent requirement is to deliver a desktop icon that will launch the app.
I have launched apps with icons before, but that was when I knew exactly which window... (1 Reply)
Discussion started by: herbmiller
1 Replies
7. UNIX for Dummies Questions & Answers
Dear Experts
I have made an Icon and now I am going to change a file Icon to new one. I am using Solaris 8.
1- What is the best format to save an Icon
2- How can I change the Icon of a certain type or just one file or folder to the new Icon which I have designed.
Any advises would be highly... (1 Reply)
Discussion started by: Reza Nazarian
1 Replies
CUT(1) General Commands Manual CUT(1)
NAME
cut - select out columns of a file
SYNOPSIS
cut [ -b | -c] list [file...]
cut -f list [-d delim] [ -s]
OPTIONS
-b Cut specified bytes
-c Select out specific characters
-d Change the column delimiter to delim
-f Select out specific fields that are separated by the
-i Runs of delimiters count as one
-s Suppres lines with no delimiter characters, when used
EXAMPLES
cut -f 2 file # Extract field 2
cut -c 1-2,5 file # Extract character columns 1, 2, and 5
cut -c 1-5,7- file # Extract all columns except 6
DESCRIPTION
[file...]" delimiter character ( see delim)" with the -f option. Lines with no delimiters are passwd through untouched"
Cut extracts one or more fields or columns from a file and writes them on standard output. If the -f flag is used, the fields are sepa-
rated by a delimiter character, normally a tab, but can be changed using the -d flag. If the -c flag is used, specific columns can be
specified. The list can be comma or BLANK separated. The -f and -c flags are mutually exclusive. Note: The POSIX1003.2 standard requires
the option -b to cut out specific bytes in a file. It is intended for systems with multi byte characters (e.g. kanji), since MINIX uses
only one byte characters, this option is equivalent to -c. For the same reason, the option -n has no effect and is not listed in this man-
ual page.
SEE ALSO
sed(1), awk(9).
CUT(1)