9 More Discussions You Might Find Interesting
1. Programming
Just finished a quick Python script to send the current unix time over to the Arduino from macOS, so in the absence of GPS or some other way to get the unix timestamp (epoch time) to the Arduino, I can get my macOS and Arduino UNO synced to within a second.
Normally, when the Arduino starts... (9 Replies)
Discussion started by: Neo
9 Replies
2. UNIX for Dummies Questions & Answers
I use the following command to print the current directory above the command prompt
set prompt="`exec pwd`\n$USER@`hostname -s` %B: % > "
The output is something like this
<current path>
$USER@hostname >
But when I try to CD to any other directory and press the return key, the... (6 Replies)
Discussion started by: aelhosiny
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am using below in my .bashrc to dynamically display user/host/directory information whenever i logged in to my Red hat Linux 64bit OS, BASH shell.
export PS1='$PWD>'
output:
/dbms/app/oracle/product/11.2.0/dbhome_1>
But i want to display absolute path information to be displayed... (1 Reply)
Discussion started by: Ariean
1 Replies
4. UNIX for Dummies Questions & Answers
I don't understand the question below..any can help me? thanks
Display the absolute path of the executable used when a
'grep' command is entered on the command line:
---------- Post updated at 08:30 PM ---------- Previous update was at 08:29 PM ----------
absolute (2 Replies)
Discussion started by: wk9031
2 Replies
5. Shell Programming and Scripting
Hello friends,
I am a script which dispalys a multiple files with their contents.
for exm:
suppose two file test1.txt and test2.txt.
when I run my script it have to display the below O/P.
test1.txt
-rw-r----- 1 sranga staff 91 Sep 23 02:18 calc.sh
-rw-r----- 1 sranga ... (2 Replies)
Discussion started by: sivaranga001
2 Replies
6. Shell Programming and Scripting
i an trying to display current time in the expect script. it works fine in normal shell script but does not in expect. can anybody help me with the synatx to display it. (2 Replies)
Discussion started by: iamcool
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
thanks
Ocelot (3 Replies)
Discussion started by: ocelot
3 Replies
8. UNIX for Dummies Questions & Answers
How Can I Display Unix Path All The Time
currently my profile look like this
# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
# If possible, start the windows system
#
if ; then
if
then
if ; then
OPENWINHOME=/usr/openwin
export... (1 Reply)
Discussion started by: murli1200
1 Replies
9. Shell Programming and Scripting
Hello there,
As a newbie:
The directories in PATH can be hard to distinguish when printed out as
one line with colon .Please, can i have a sample script to display
them,one to a line.
Thank you. (1 Reply)
Discussion started by: debut
1 Replies