Sponsored Content
Operating Systems Linux Ubuntu Error starting terminal in Ubuntu 14.04.3 Post 302955097 by Corona688 on Monday 14th of September 2015 03:09:59 PM
Old 09-14-2015
You are exporting your path three times, duplicating quite a lot of names in it. What things did you actually need to add to your path? Add only those.
 

10 More Discussions You Might Find Interesting

1. Linux

splashy starting up error

Hi eveyone and Happy Holidays, My problem is starting splashy in fedora 8 what i have done is:- installed splashy with no errors edited grub removed rhgb and added quiet vga=791 splash set default theme with command splashy_config -s default no errors added /sbin/splashy boot in... (4 Replies)
Discussion started by: dave123
4 Replies

2. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

3. UNIX for Dummies Questions & Answers

I'm unable to run Keyed List commands(in ubuntu's terminal and Evolane Tcl Engine)

I'm trying to run these commands (keylset,keylget) but i keep getting a error message "invalid command name "keylset"". I've tried running it on both ubuntu's terminal and also Evolane Tcl Engine. Any idea what could be the problem? (1 Reply)
Discussion started by: abe171
1 Replies

4. UNIX for Dummies Questions & Answers

Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart... (0 Replies)
Discussion started by: figaro
0 Replies

5. OS X (Apple)

How to prompt for login on OSX when starting Terminal

I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in. Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies

6. Ubuntu

'Starting up partitioner' freezes during Ubuntu Server install

Here's my hardware: GA-880GA-UD3H(rev. 2.2) Had Ubuntu 11.04 server running with 6 Seagate 1TB ST31000524AS drives. Was NOT using the 2 white gigabyte sata ports, only blue. (8 sata ports total on MB) 1x IDE DVD-ROM (For Ubuntu Server Install disk) I was trying to upgrade to use all SATA... (0 Replies)
Discussion started by: lorewap3
0 Replies

7. Windows & DOS: Issues & Discussions

Start X Server without starting a terminal

when I run C:\cygwin\bin\run C:\cygwin\bin\startxwin.exe it fires up a terminal by default. Can I eliminate that terminal and start the x server as a service silently and sits in my status bar just there? Thanks Jack (0 Replies)
Discussion started by: lucky7456969
0 Replies

8. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

9. HP-UX

Error when starting apache

Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm. To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies

10. Shell Programming and Scripting

Pgrep for processes which are not associated with a terminal in Ubuntu

I would like to find all of the PIDs of processes which are not associated with a terminal and started by CRON. When I do the ps aux | less command, I see in the TTY field a lot of processes with ? character I would like to get those processes ID, is there a way to do that with pgrep? ... (1 Reply)
Discussion started by: ASF Studio
1 Replies
utimes(2)							System Calls Manual							 utimes(2)

NAME
utimes - set file access and modification times SYNOPSIS
DESCRIPTION
The function sets the access and modification times of the file pointed to by the path argument to the value of the times argument. The function allows time specifications accurate to the microsecond. For the times argument is an array of structures. The first array member represents the date and time of last access, and the second mem- ber represents the date and time of last modification. The times in the structure are measured in seconds and microseconds since the Epoch, although rounding toward the nearest second may occur. If the times argument is a null pointer, the access and modification times of the file are set to the current time. The effective user ID of the process must be the same as the owner of the file, or must have write access to the file or appropriate privileges to use this call in this manner. Upon completion, will mark the time of the last file status change, st_ctime, for update. RETURN VALUE
Upon successful completion, 0 is returned. Otherwise, -1 is returned and is set to indicate the error, and the file times will not be affected. ERRORS
The utimes() function will fail if: Search permission is denied by a component of the path prefix; or the times argument is a null pointer and the effective user ID of the process does not match the owner of the file and write access is denied. Too many symbolic links were encountered in resolving path. The length of the path argument exceeds or a pathname component is longer than A component of path does not name an existing file or path is an empty string. A component of the path prefix is not a directory. The times argument is not a null pointer and the calling process' effective user ID has write access to the file but does not match the owner of the file and the calling process does not have the appropriate privileges. The file system containing the file is read-only. The function may fail if: Pathname resolution of a symbolic link produced an intermediate result whose length exceeds SEE ALSO
<sys/time.h>. CHANGE HISTORY
First released in Issue 4, Version 2. utimes(2)
All times are GMT -4. The time now is 11:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy