Sponsored Content
Full Discussion: About \ (Back slash)
Top Forums Shell Programming and Scripting About \ (Back slash) Post 302259448 by Arunprasad on Tuesday 18th of November 2008 06:19:19 AM
Old 11-18-2008
Java About \ (Back slash)

Hi All,

print "path/executable_file parameters" \
> path/file1
print "path/executable_file parameters" \
> path/file2
print "path/executable_file parameters" \
> path/file3


chmod 775 path/file1 \
path/file2 \
path/file3

could you please let me know how the back slash will be useful and its effect in using in the shell script.
please explain how its working in the above print and chmod.

i read some documents about back slash
"preceding the same string with a backslash, \, also removes the special meaning of a character, or string".

i am not getting what it is actually doing.
please let me know.

Thanks.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp username with back slash

Hi, My ftp user name is in the format US\tere I tried using escape characters US\\tere but it is not working fine please advice.. sam (1 Reply)
Discussion started by: sam99
1 Replies

2. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

3. Shell Programming and Scripting

Replace the last slash alone

Hi All, Can you please help me with the below issue. I want only the last slash to be replaced with space. 06/05/2008/EDED_FD_BDCD_ABCD_123 06/05/2008 EDED_FD_BDCD_ABCD_123 (3 Replies)
Discussion started by: christineida
3 Replies

4. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

5. UNIX for Advanced & Expert Users

Substitute single backward-slash with the double backward-slash

Hi, I have a path like this c:\test\sample\programs, i need to change thiis to c:\\test\\sample\\programs. How to perform this? I tried tr command but it didn't help me. Thanks Vijayan (3 Replies)
Discussion started by: mvictorvijayan
3 Replies

6. Shell Programming and Scripting

Using sed to append backward slash before forward slash

Hi all, I need to know way of inserting backward slash before forward slash. My problem is that i need to supply directory path as an argument while invoking cshell script. This argument is further used in script (i.e. sed is used to insert this path in some file). So i need to place \ in front... (2 Replies)
Discussion started by: sarbjit
2 Replies

7. Shell Programming and Scripting

What is the use of back slash \ in piping?

Hi, I had a script as below Test_pipe.ksh #!/usr/bin/ksh echo `pwd` id=`pwd | cut -d"/" -f2` echo $id result : /export/home export The above script executed sucessfully and I modified the script by placing a back slash "\" before cut command after pipe it is... (22 Replies)
Discussion started by: somu_june
22 Replies

8. Shell Programming and Scripting

Slash delimiter

I have a log file which on field $11 there is sth like: /A/B/C and I want to extract the last part which is C. for space delimiter I used: awk '{print $2 " " $5 ";" $7 ";" $9 ";" $11}' and had no problem. but dont know how to extract the 3rd part of the slash delimiter. That would be... (6 Replies)
Discussion started by: frhling
6 Replies

9. Shell Programming and Scripting

Need to remove slash

I got stuck in problem i need to remove slash but it is not working. current output /usr/sbin/httpd expected output usr sbin httpd (4 Replies)
Discussion started by: learnbash
4 Replies
JLS(8)							    BSD System Manager's Manual 						    JLS(8)

NAME
jls -- list jails SYNOPSIS
jls [-dhNnqsv] [-j jail] [parameter ...] DESCRIPTION
The jls utility lists all active jails, or the specified jail. Each jail is represented by one row which contains space-separated values of the listed parameters, including the pseudo-parameter all which will show all available jail parameters. A list of available parameters can be retrieved via ``sysctl -d security.jail.param''. See jail(8) for a description of some core parameters. If no parameters or any of the options -hns are given, the following four columns will be printed: jail identifier (jid), IP address (ip4.addr), hostname (host.hostname), and path (path). The following options are available: -d List dying as well as active jails. -h Print a header line containing the parameters listed. If no parameters are given on the command line, all is assumed. -N In the standard display mode, print each jail's name instead of its numeric ID. If the jail does not have a name, the numeric ID is printed instead. -n Print parameters in ``name=value'' format, where each parameter is preceded by its name. If no parameters are given on the command line, all is assumed. -q Put quotes around parameters if they contain spaces or quotes, or are the empty string. -s Print parameters suitable for passing to jail(8), skipping read-only and unused parameters. Implies -nq. -v Print a multiple-line summary per jail, with the following parameters: jail identifier (jid), hostname (host.hostname), path (path), jail name (name), jail state (dying), cpuset ID (cpuset), IP address(es) (ip4.addr and ip6.addr). -j jail The jid or name of the jail to list. Without this option, all active jails will be listed. SEE ALSO
jail_get(2), jail(8), jexec(8) HISTORY
The jls utility was added in FreeBSD 5.1. Extensible jail parameters were introduced in FreeBSD 8.0. BSD
July 20, 2012 BSD
All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy