Programming :: Trace The Actions That Are Performed By .cshrc File?
May 11, 2011I need to trace the actions that are performed by my .cshrc file. Is there a command i can use to get a printout of this?
View 3 RepliesI need to trace the actions that are performed by my .cshrc file. Is there a command i can use to get a printout of this?
View 3 RepliesHow to plot graphs for trace files generated in ns2 using xgraph and gnuplot.
View 7 Replies View RelatedI've been trying out Nautilus-actions (Gnome 2.28.4), but have been unable to import most config files from [url].
When I attempt to import an action, it complains:
Quote:
Can't parse file 'convert_flv_to_avi.schemas' as GConf schema description file!
This XML file is not a valid Nautilus-actions config file (missing keys: )
So far, the only one that has worked for me is "Move to custom folder" [url].
When I SSH to a certain Linux host, although my default shell is tcsh, the .cshrc file under my home directory is not sourced at all. I can't understand why this happens because from my understanding, if I'm using the tcsh, the .cshrc should be sourced anyway!
View 1 Replies View RelatedJust trying to execute cd command in a .cshrc file (bash shell in SUSE Linux) it says."No such file or directory".Do you see any reasons for this
View 3 Replies View RelatedI'm having this problem wherein the ppp program is altering the /etc/resolv.conf file when connecting.This, despite me having set file permissions to read-only. What could be the problem here?
View 9 Replies View Relatedi am investigating on solutions to trace a file deletion on a computer( Linux O/S).i also need to determine weither after a file deletion or download on a computer, the computer clock had not been modified. In case a file has been downloaded on a computer and then transferred to a removable device, i need to find out the file activity. i mean i should be able to tell that the file was downloaded and transferred to a device with possible specifications.
View 2 Replies View RelatedI need help creating a script that makes a log file in wich to save information about every user that uses the ftp command (information like username and date) and the server to wich he is trying to connect.
View 2 Replies View RelatedThe usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.
After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)
I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.
the had part isn't finding info, objdump(1) does that wonderfully : it's using it..
If I use the GUI File Manager I ofter get stuck because I need root permissions to write or delete some file or directory. I realize I can drop down to Terminal and do either a sudo or change the permissions of a particular file, but these are several extra steps. Is there a way I can perform root actions on files using File Manager/Browser? Or is there an alternative file manager program I can explore that is more flexible? I am currently using Debian 6.01a installed from the Live CD, Nautilus 2.30.1.
View 14 Replies View RelatedWe recently ported an application over from IRIX to Linux, specifically SUSE Enterprise 11 and gcc (glibc 2.9). On IRIX there was a library trace utility call 'par' that allowed me to execute a C program and trace all the library calls it made, tracking how much time was spent in each call. I have been trying to find something similar for SUSE. I have found the ?trace programs (strace, ltrace, and ktrace) none of which is default installed on SUSE 11.Does any one have a suggestion on which ?trace to install and use or is there something else out there better?
View 1 Replies View Relatedhow can I trace the method calls in Java during runtime?
View 1 Replies View RelatedDoes Linux have a way to trace writes to a file?
For each write, I would like to know the time, date, process id, user, file position, byte count, and the data written.
I could use this with a script to replay the writes to a backup of the original file, and reproduce the file contents as they were at a point in time.
This is a trace-all the files so that you can imagine my trace file format.
Code:
+ 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
- 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
r 0.111312 1 0 cbr 164 ------- 1 1.0 0.0 0 0
[code]....
Alright, I have a network trace file that I want to parse through.
The file looks like this:
+ 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)
- 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Dequeue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)
[Code]....
I want to create VBR traffic,I created file which contain two 32 bit fields.But When I execute tcl program with this.No pkt transfer is shown.When same program I tried with example-trace ,i saw pkt transfer.Containt of my traffic trace file is as follows :
[Code]...
how do i plot the trace file into a graph? can any 1 show an example here? just any trace file will do
View 13 Replies View Relatedwhen I run a tcl script using ns-2.30 and get a result and run the sam script in ns-2.29 and get an error and run the script file in ns-2.33 and get a result but the output filr (out.tr) is less in size than the output file of ns-2.30 i and also in the details of time scale , for example one out.tr file contains 19000 line (2 M byte size) and the other out.tr file for the same tcl file using the ns-2.33 version contains 10000 lines (1. M byte size) . Does that make since ? also in result file nam file for ns-2.30 it has some drops but the ns-2.33 has no drops! when I run the name !!!. is the time scale for simulation tunable or can be aligned?
View 1 Replies View RelatedEvery time I try to set to standard.(cautious|medium|advanced) I get Apr 26 17:20:59.960 7f7faff15700 Fatal error: can't load actions file '/etc/privoxy/match-all.action': invalid line (9): { +standard.Cautious } /
or something similar. No additional help is available in the docs. So i try to use http://p.p (i.e. config.privoxy.org), and click on [URL]... expecting to get the three mode buttons. It just returns to p.p.
I already set the three edit vars to allow remote editing etc.So I looked in the top 15 Google hits for "Privoxy standard.Cautious". Apparently, nobody else knows how to do this either even tried launching firefox in root. but I'm getting kind-of frustrated with the writers/maintainers of Privoxy 3.
I'm a csh user. In my .cshrc or .login files, I'd like to add certain directories to my search PATH, but I'd first like to check if those directories are already in the search path before attempting to add them (so don't add the same directory twice). The following isn't working
Code:
if ( "${PATH}" !~ ~/bin ) then
setenv PATH "${PATH}:$HOME/bin"
endif
The problem is that the if-statements always evaluates to TRUE, meaning that ~/bin is always added to the path, even if it's already in the path.
What am I doing wrong in the above regulat expression, or alternatively, what's an easy way to accomplish the same thing?
Is it possible to get nautilus to always ask what to do when dragndrop is performed like in kde?
View 1 Replies View RelatedI have a 'special script' in my .bashrc file, which I want to be performed only at Login. When I open a terminal (through a gnome launcher <gnome-terminal> as the command) it unfortunately sources .bashrc.
Hence the opening of the terminal runs the 'special script' again.
How can I instruct .bashrc not to do something except when and only when I am logging in? I found a segment of code which is supposed to do what I want but I am not sure of how it works.
Code:
Will this work to put my 'special script' in to ensure that it only runs when it is a login script and not when it is a simple launcher terminal opening?
I'm using ubuntu 11.10 Oneiric Ocelot alpha 3. The day before yesterday I was updated my OS by "update manager", at the time of update process had began a popup message informed me that system only can take partial updates and I did so. After that whenever try to install software from "ubuntu software center" the installation does not performed not even asking for the root password.
View 1 Replies View RelatedI accidentally performed the 'xkill' command on my desktop. All of my icons disappeared and I cant right click or left click on it.The task bar is still there and working. When i go to Places > Desktop, my items are there in the folder.
View 2 Replies View RelatedI log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually involves me going through log files and just observing the filesystem for new folders/files (usually in /tmp).
Is there some kind of a master log file which logs all (or nearly all) "activity" on the computer. Even getting a list of most recent command line 'history' from different users would be helpful to see what they did in the last couple hours. I only need to know the big things:
new software installs
important files being changed
new users/groups being made
Am I asking for too much from my system? If this doesn't exist I might just develop a tool to do it. In that case, which files should I be looking at to extract the information I want?
The main thing I want to know is: how to translate my GUI actions into command-line code. I want to know if there is a command that outputs all the commands being made by interaction with my GUI.Say, for example that I type this command and then open a file, the terminal would then print: "gnome-open /{path to file}".(The reason I ask is because I need to know a command to open with a non-default program. I have downloaded MiniCopier, so I want to add a launcher for it to my panel, by figuring out the code to launch it, but the default app to open ".jar" files is archive manager, rather than Java, so "gnome-open" doesn't do the trick. I've even changed the default to Java and still "gnome-open" uses archive manager, while double-clicking will use the new default=java. Weird...)
View 2 Replies View RelatedI have a program which launches by a command but the command is not valid if i dont cd/ to the location of it first, is it possible to make the lancher (terminal) first go; cd /home/user/x then the program?
View 4 Replies View RelatedI just bought a new mouse, that has 7 buttons! Beyond the normal left and right click, middle button, and buttons to navigate on the internet, I'd like to be able to associate custom functions to the other two buttons. I've tried to use keyboard shortcuts. However, it doesn't recognize the mouse click as a valid key.
View 2 Replies View RelatedI would really like to configure compiz to emulate the Windows 7 edge actions. In case you haven't used Windows 7, the actions I'm interested in are: Drag window to top of the screen - maximize Drag window to left side of screen - take up the left half of the screen Drag window to right side of screen - take up the right half of the screen
Those are really the only ones I care about. I know I used to be able to do this in Karmic, but I forgot to back up my compiz settings when installing Lucid, and I can't remember how I had it configured before.
I'm using gnome and I'm trying to add custom actions to the right-click on desktop menu. I've read that this can be done using nautilus-actions, but all the references I've found explain it for older versions of nautilus-actions.
If I create an action (a firefox launcher, for example) and don't add any special conditions for it to show up, it shows when I right-click anything in nautilus, but not on the desktop.
I know it's possible since nautilus-open-terminal shows up on the desktop menu.